Bug 117877 - Web Inspector: REGRESSION: Breakpoints often missed when reloading page
Summary: Web Inspector: REGRESSION: Breakpoints often missed when reloading page
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Timothy Hatcher
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2013-06-21 08:20 PDT by Timothy Hatcher
Modified: 2013-06-21 11:17 PDT (History)
5 users (show)

See Also:


Attachments
Patch (2.35 KB, patch)
2013-06-21 08:27 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff
Patch (3.52 KB, patch)
2013-06-21 08:38 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2013-06-21 08:20:09 PDT
Setting a breakpoint to trigger on page load, it often doesn't trigger on reloads. I see this primarily in the remote scenario; most likely because of the larger delay and asynchronisity between messages.

Steps:
1. On an iOS device/simulator load <http://bogojoker.com/shell/>
2. Open a remote inspector
3. Set a brekapoint on easySlider.min.js:2 or :3 (pretty printed)
4. Reload the page with Cmd+R in the inspector
  => sometimes the breakpoint is not hit

Notes:
In the protocol I'm seeing the frontend remove the breakpoint and readd it frequently. Why this extra churn?

<rdar://problem/13955160>
Comment 1 Timothy Hatcher 2013-06-21 08:27:07 PDT
Created attachment 205186 [details]
Patch
Comment 2 Timothy Hatcher 2013-06-21 08:38:18 PDT
I have a better fix.
Comment 3 Timothy Hatcher 2013-06-21 08:38:57 PDT
Created attachment 205188 [details]
Patch
Comment 4 Joseph Pecoraro 2013-06-21 10:53:37 PDT
Comment on attachment 205188 [details]
Patch

r=me
Comment 5 WebKit Commit Bot 2013-06-21 11:17:22 PDT
Comment on attachment 205188 [details]
Patch

Clearing flags on attachment: 205188

Committed r151846: <http://trac.webkit.org/changeset/151846>
Comment 6 WebKit Commit Bot 2013-06-21 11:17:24 PDT
All reviewed patches have been landed.  Closing bug.