Open Bug 1107763 Opened 10 years ago Updated 2 years ago

Add a "pause on coerce to NaN" option to the debugger's options dropdown

Categories

(DevTools :: Debugger, enhancement, P3)

x86
macOS
enhancement

Tracking

(Not tracked)

People

(Reporter: fitzgen, Unassigned)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

Add the ability to pause on coercion to NaN.
Depends on: 1107761
Depends on: dbg-control
No time for this at the moment.
Assignee: nfitzgerald → nobody
Status: ASSIGNED → NEW
Priority: -- → P3
Product: Firefox → DevTools
Type: defect → enhancement
Blocks: dbg-control
No longer depends on: dbg-control

My recommendation is to expose Coercion pausing in the Event BP panel, from which we can then iterate to expose it properly – I would love to hear more thoughts though.

My main question in this is whether this is something SpiderMonkey can expose for us easily. Since it would be a broad flag, probably on Debugger, I could see it causing deoptimization for any math operation, and any builtin that can produce NaN. I'd want their thoughts on whether that is something that could be problematic.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.