[Webkit-unassigned] [Bug 92342] New: Web Inspector [JSC]: Support multi instance for PageScriptDebugServer of JSC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 25 23:54:50 PDT 2012


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

           Summary: Web Inspector [JSC]: Support multi instance for
                    PageScriptDebugServer of JSC
           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, rik at webkit.org, keishi at webkit.org,
                    charles.wei at torchmobile.com.cn, 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,
                    kpiascik at rim.com


PageScriptDebugServer is singleton now. That's right for V8, since PageScriptDebugServer is a dispatcher for V8, it doesn't record any debug status for a special page or JSGlobalObject (frame). 
But for JSC things are different, the derived chain of PageScriptDebugServer is JSC::Debugger -> WebCore::ScriptDebugServer -> WebCore::PageScriptDebugServer, the ScriptDebugServer records status for one JSGlobalObject (refer to member variables "m_pauseOnNextStatement" and "m_paused"). It causes a problem that if there more than on pages within one process only one can be inspected. 
In high level, the InspectorController and PageDebugAgent are one-one mapped to page. So there is a possibility to let JSC's PageScriptDebugServer support multi instance.

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