[Debugger] more granular ignore for step-by-step in the debugger
Categories
(DevTools :: Debugger, enhancement, P3)
Tracking
(firefox96 fixed)
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: karlcow, Assigned: bomsy)
References
(Blocks 3 open bugs)
Details
(Whiteboard: dt-webcompat)
Attachments
(2 files, 3 obsolete files)
Currently the debugger makes it possible to ignore a full file when doing step by step. The eye icon at the bottom left.
It would be great to be able to have a similar feature
- for functions
// [crossed_eye]
function blah() {
//plenty of code
}
would make it possible to ignore the step in for this function and just go to the next instruction.
- for loop code
// [crossed_eye]
for (let i = 0; i < 10000; i++) {
str = str + i;
}
You would just jump at the }
after the loop has finished
Assignee | ||
Updated•4 years ago
|
Updated•3 years ago
|
Comment 1•3 years ago
•
|
||
Steve, are there good platform API we could use to ignore specific functions and/or loops when stepping?
(please let me know if there is anyone else who could know the answer)
From the UI perspective we could introduce some kind of an opposite to a breakpoints saying "Never pause here".
Thank you!
Honza
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D132050
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D132052
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D132138
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b264a14f5258 [devtools] Add pref for blackboxing lines r=ochameau https://hg.mozilla.org/integration/autoland/rev/314f2ff57cc9 [devtools] Rename the getSourceId to getBlackboxRangeForSource r=ochameau
Comment 6•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b264a14f5258
https://hg.mozilla.org/mozilla-central/rev/314f2ff57cc9
Assignee | ||
Comment 7•3 years ago
|
||
Comment 8•3 years ago
|
||
As we're working on this area and wondering about UI, note that we do have prior discussion regarding blackboxing/ignoring in https://github.com/firefox-devtools/ux/issues/84
(the idea was to have a crossed-file icon, some text label to make it explicit and use another color than blue)
Assignee | ||
Comment 9•3 years ago
|
||
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Comment on attachment 9254133 [details]
Bug 1690450 - [devtools] Remove unused tabBlackboxed pref
Revision D133095 was moved to bug 1745921. Setting attachment 9254133 [details] to obsolete.
Assignee | ||
Comment 11•3 years ago
|
||
See Bug 1745940 for implementation of blackboxing lines
Comment 12•3 years ago
|
||
Comment on attachment 9253586 [details]
Bug 1690450 - [devtools] Add blackbox line support for actions and reducers
Revision D132774 was moved to bug 1745940. Setting attachment 9253586 [details] to obsolete.
Comment 13•3 years ago
|
||
Comment on attachment 9252856 [details]
Bug 1690450 - [devtools] Implement blackboxing lines UI functionality
Revision D132368 was moved to bug 1745940. Setting attachment 9252856 [details] to obsolete.
Assignee | ||
Updated•3 years ago
|
Updated•2 years ago
|
Description
•