Closed Bug 1249435 Opened 4 years ago Closed 4 years ago
[meta] JS Debugger doesn't pause the debuggee
For bug 912337, Shu has written a patch to implement the Debugger.DebuggeeWouldRun exception, which is thrown when something tries to run code in a paused debuggee. A pref causes this to be merely a warning, not an error; this pref defaults to warning. This patch gives us a way to catch all the cases that the nsIDOMWindowUtils methods aren't handling. This has already yielded a large list of pause violations. They're just source locations at the moment. If we could get full JS stacks from them, that would be a big step forward in helping us identify violations.
We already have a meta bug for tracking where we break run-to-completion semantics; I think we should reuse it here.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: dbg-r2c
(In reply to Nick Fitzgerald [:fitzgen] [⏰PST; UTC-8] from comment #2) > We already have a meta bug for tracking where we break run-to-completion > semantics; I think we should reuse it here. Ah, thanks. My search didn't turn that up.
(In reply to Jim Blandy :jimb from comment #3) > (In reply to Nick Fitzgerald [:fitzgen] [⏰PST; UTC-8] from comment #2) > > We already have a meta bug for tracking where we break run-to-completion > > semantics; I think we should reuse it here. > > Ah, thanks. My search didn't turn that up. Run-to-completion was arguably a very bad name for that bug :-P
You need to log in before you can comment on or make changes to this bug.