Closed Bug 1077655 Opened 10 years ago Closed 10 years ago

xul:script does not show up in debugger sources

Categories

(DevTools :: Debugger, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1085446

People

(Reporter: tomasz, Unassigned)

Details

Steps to reproduce:
1. open about:newtab
2. open console
3. switch tab to debugger

Expected:
newTab.js to be there

Result:
no sources found


What's also interesting is that when I add a breakpoint (debugger statement) to newTab.js the debugger lets me step through it but it still does not show any code.
I believe the main issue is that the regular tab DevTools toolbox doesn't show chrome scripts in its debugger.

You may be able to use the Browser Toolbox to target such a script for now.
Component: Developer Tools → Developer Tools: Debugger
XUL scripts are not debuggable by the regular debugger. That's by design. You want to use the browser debugger if you want to debug XUL scripts.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Bug 1085446 landed recently, which allows the regular tab debugger to see such sources, so this is actually fixed.
Resolution: INVALID → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.