[Webkit-unassigned] [Bug 60762] New: Web Inspector: [protocol] extend setBreakpointByUrl request to accept incomplete URL (predicates)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 13 06:38:08 PDT 2011


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

           Summary: Web Inspector: [protocol] extend setBreakpointByUrl
                    request to accept incomplete URL (predicates)
           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.rybin at gmail.com
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


Use case: "provisional breakpoints"
In IDE user opens source file foo.js from disk. He sets a breakpoint in the file. Then he attaches to Chrome.

At this moment Chrome must learn about the user breakpoints, but exact URL or script id is needed. If script hasn't been loaded yet the breakpoint cannot be set without knowing exact URL. This makes it extremely hard to build an IDE with provisional breakpoints, event harder is to build user-friendly IDE.

Scenario that is to be implemented:
IDE from a short name of the file foo.js (and possibly some additional mark-up) specifies a URL predicated, either in form of a URL substring, RegExp or path component list (the latter is nice because the reverse map URL -> matching breakpoints can be built).
When Chrome compiles a new script, it checks predicates of all provisional breakpoints and set matching ones in the new script.

I propose this feature first implemented and added to protocol in experimental mode because the optimal type of predicate seems unclear now.

-- 
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