Closed
Bug 1919804
Opened 5 months ago
Closed 4 months ago
Remove JS Tracer automatic stop on infinite loop
Categories
(DevTools :: Debugger, enhancement)
DevTools
Debugger
Tracking
(firefox132 fixed)
RESOLVED
FIXED
132 Branch
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(1 file)
The early implementation of the JS Tracer was too slow to handle large call stack depth.
For this a custom logic was stopping it when hitting large call stack.
We should now remove this confusing behavior, as the JS Tracer is performant enough to handle large stacks.
The infinite loops are still going to be ultimately stopped by the JS engine, around 11k depth on my setup.
Assignee | ||
Updated•5 months ago
|
Summary: JS Tracer should stop on infinite loop → Remove JS Tracer automatic stop on infinite loop
Assignee | ||
Comment 1•5 months ago
|
||
Instead, only rely on JS engine infinite loop detection.
The JS Tracer can now handle fine call stack with large depth.
Updated•5 months ago
|
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4414b7e055b6
[devtools] Remove JS Tracer infinite loop limit. r=devtools-reviewers,nchevobbe
Comment 3•4 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
status-firefox132:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•