Bug 39185 - Web Inspector: Breakpoints Set Before Debugger is Enabled Don't Work
Summary: Web Inspector: Breakpoints Set Before Debugger is Enabled Don't Work
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-16 13:49 PDT by Joseph Pecoraro
Modified: 2011-02-08 11:28 PST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2010-05-16 13:49:54 PDT
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.
Comment 1 Timothy Hatcher 2010-05-16 15:35:51 PDT
I agree or always do #1.
Comment 2 Pavel Feldman 2011-02-08 11:28:22 PST
We don't allow setting breakpoints from resources panel until debugging is enabled.