WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
51393
Web Inspector: missing the ability to reliably pause debugger in runaway JavaScript
https://bugs.webkit.org/show_bug.cgi?id=51393
Summary
Web Inspector: missing the ability to reliably pause debugger in runaway Java...
Martin Häcker
Reported
2010-12-21 06:20:37 PST
If some code is running away (in a clever way) there is no way to stop and inspect that code in the web inspector as it itself is blocked by that code. Reasons this can happen: Code that consumes a lot of memory (but without hitting the js limits), sets lots of timeouts (so each javascript timeout that you acknowledge is immediately followed by more processing). This needs to change. The debugger needs to be able to always and reliably (and with low latency) be able to stop javascript exectuion.
Attachments
Add attachment
proposed patch, testcase, etc.
Yury Semikhatsky
Comment 1
2010-12-21 07:31:45 PST
This should be possible in Chromium where the front-end runs in its own process different from that of the inspected page and can pause current script even if it's in a tight loop.
Radar WebKit Bug Importer
Comment 2
2014-12-17 11:22:05 PST
<
rdar://problem/19281497
>
Radar WebKit Bug Importer
Comment 3
2014-12-17 11:26:34 PST
<
rdar://problem/19281631
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug