Closed Bug 1885910 Opened 8 months ago Closed 8 months ago

Avoid duplicated locations being notified by Tracer's onStep option

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(firefox126 fixed)

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file)

No description provided.

isStepStart returned by getOffsetMetadata isn't enough to identify meaningful steps when execution JS instructions.
Fallback on also checking if we moved to another location.
This assumes that we can have the exact same location (line and column) to be executed twice in a row?
There should always be another instruction to run, even in loops.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Severity: -- → S3
Priority: -- → P3
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/27d82c88804d [devtools] Avoid duplicated locations being notified by Tracer's onStep option. r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: