Alexandre Poirot 5bc2b6d5f5 Bug 1883905 - [devtools] Trace test from a given line. r=devtools-reviewers,nchevobbe
The existing feature DEBUG_STEP will help understand that the test is stuck on line 49
DEBUG_STEP=true ./mach mochitest browser_target_command_detach.js
On `[STEP] browser_target_command_detach.js @ 49:3    ::   ↦ await secondTargetCommand.startListening();`

And the new DEBUG_TRACE_LINE feature will help understand where the code is stuck, deeply nested into async code of DevTools.
DEBUG_TRACE_LINE=49 ./mach mochitest browser_target_command_detach.js
On `[STEP] target-command.js @ 512:7   ::       ↦ await this._onFirstTarget;`

Differential Revision: https://phabricator.services.mozilla.com/D203771
2024-03-25 12:08:41 +00:00
..