[Webkit-unassigned] [Bug 102637] New: Web Inspector: [JSC] worker debugger shouldn't stop for "willExecuteProgram" instruction

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 18 20:25:34 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=102637

           Summary: Web Inspector: [JSC] worker debugger shouldn't stop
                    for "willExecuteProgram" instruction
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: peter.wang at torchmobile.com.cn
                CC: timothy at apple.com, ggaren at apple.com,
                    keishi at webkit.org, charles.wei at torchmobile.com.cn,
                    pmuellr at yahoo.com, pfeldman at chromium.org,
                    yurys at chromium.org, apavlov at chromium.org,
                    loislo at chromium.org, vsevik at chromium.org,
                    web-inspector-bugs at googlegroups.com


How to reproduce the bug:
(1) Open inspector for any page including worker.
(2) Choose "Pause on start", and trigger the worker in the page.
(3) The worker inspector shows up and stop on the first statement of JS.
(4) Click "Step over next" button, you have to click two times to let the pointer move to next statement. 

The root reason is worker inspector first stops for the "willExecuteProgram" instruction, then stops for the first statement of JS code.

The breakpoint for "willExecuteProgram" is reserved for some special purpose, it's always inserted in the head of any head of a piece of JS code, in normal situation it's impossible to set it manually and it shouldn't influence user's operation. But, for worker inspector "Pause on start", it's triggered and causes problem.

So, I try to override the interface to let worker debugger server doesn't stop for "willExecuteProgram".

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list