Closed Bug 1919804 Opened 26 days ago Closed 22 days ago

Remove JS Tracer automatic stop on infinite loop

Categories

(DevTools :: Debugger, enhancement)

enhancement

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.

Summary: JS Tracer should stop on infinite loop → Remove JS Tracer automatic stop on infinite loop

Instead, only rely on JS engine infinite loop detection.
The JS Tracer can now handle fine call stack with large depth.

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
Status: ASSIGNED → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: