Closed
Bug 1663758
Opened 5 years ago
Closed 5 years ago
Debugging xpcshell-tests fails to display breakpoint correctly, fails to hit it a second time
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: standard8, Unassigned)
Details
Attachments
(1 file)
|
49.80 KB,
text/plain
|
Details |
STR:
- Set up an xpcshell-test where you have either two
debugger;statements or one where you'll hit it twice. - Start the test with
--jsdebugger - Hook up the debugger via about:debugging etc.
Actual Results
The debugger pauses on the first debugger; statement but does not show the normal line marker. On the console there is an error (see attached log).
Attempting to continue to run the test to hit the next statement fails - the test just runs through to the end.
Expected Results.
The debugger correctly displays and pauses in both cases.
Comment 1•5 years ago
|
||
Can you share the specific test where you experience this? I tried to add 2 debugger statements to a simple xpcshell test (https://searchfox.org/mozilla-central/source/devtools/client/aboutdebugging/test/xpcshell/test_extensions_path.js), and I could hit both debugger statements.
I used the latest central, on macos, if relevant.
Flags: needinfo?(standard8)
| Reporter | ||
Comment 2•5 years ago
|
||
Unfortunately I can't reproduce this either now :(
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(standard8)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•