Bug 39185
Summary: | Web Inspector: Breakpoints Set Before Debugger is Enabled Don't Work | ||
---|---|---|---|
Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bweinstein, joepeck, keishi, pfeldman, pmuellr, rik, timothy, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Joseph Pecoraro
Even if the user has set their preference to Always Allow Scripts
Debugging, if the user sets breakpoints in the Resources Panel
before opening the Scripts Panel the breakpoints are not active.
This is unexpected behavior. Possible solutions are:
1. enable the debugger when the user sets the breakpoint
2. prevent breakpoints from being set when debugger is not enabled
3. warn the user the breakpoint won't work until they use the Scripts Panel
I'd prefer #1 when the users' preference is "Always".
And #2 if their preference is to debug per session, and they should
enable the debugger.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Timothy Hatcher
I agree or always do #1.
Pavel Feldman
We don't allow setting breakpoints from resources panel until debugging is enabled.