Open Bug 1136353 Opened 5 years ago Updated 7 months ago

debugger statement in XBL constructor does not trigger

Categories

(DevTools :: Debugger, defect, P5)

x86_64
Linux
defect

Tracking

(Not tracked)

People

(Reporter: tromey, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file test case
I have the attached test case in the tree in dom/xbl/test.
I run it with "./mach mochitest --jsdebugger dom/xbl/test/test_bug1135731.xhtml"

I expect the debugger to stop in the "debugger;" statement in the <constructor>.
However, it does not.  It does stop on the "debugger;" statement in <script> though.

The constructor is definitely run.
If I re-run the test (by clicking on some button in the window) then it works the second time.
I was hoping that perhaps bug 1163540 fixed this as well, but it is hard to tell, as it may
be obscured by bug 1171030.
Product: Firefox → DevTools
Blocks: dbg-control
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.