RESOLVED FIXED Bug 131523
Web Inspector: Remove shared PageScriptDebugServer, create per-Page
https://bugs.webkit.org/show_bug.cgi?id=131523
Summary Web Inspector: Remove shared PageScriptDebugServer, create per-Page
Joseph Pecoraro
Reported 2014-04-10 18:45:10 PDT
Having a shared PageScriptDebugServer was causing issues when we called JSC::Debugger::clearBreakpoints() and the same Debugger underlying multiple InspectorDebuggerAgent instances removed its JSC breakpoints. By going per-Page each page will have its own JSC::Debugger/InspectorDebuggerAgent/ScriptDebugServer. Note that PageScriptDebugServer already marks the entire page group as paused when a single Page gets paused.
Attachments
[PATCH] Proposed Fix (47.13 KB, patch)
2014-04-10 18:54 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2014-04-10 18:46:41 PDT
Joseph Pecoraro
Comment 2 2014-04-10 18:54:22 PDT
Created attachment 229098 [details] [PATCH] Proposed Fix
Timothy Hatcher
Comment 3 2014-04-10 21:40:37 PDT
Comment on attachment 229098 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=229098&action=review > Source/WebCore/inspector/InspectorController.h:145 > + PageDebuggerAgent* m_debuggerAgent; Weird white space compared to other lines. > Source/WebCore/inspector/PageScriptDebugServer.cppSource/WebCore/bindings/js/PageScriptDebugServer.cpp:69 > + m_listeners.add(listener); Odd white space here too.
Timothy Hatcher
Comment 4 2014-04-11 09:26:30 PDT
(In reply to comment #3) > (From update of attachment 229098 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=229098&action=review > > > Source/WebCore/inspector/InspectorController.h:145 > > + PageDebuggerAgent* m_debuggerAgent; > > Weird white space compared to other lines. > > > Source/WebCore/inspector/PageScriptDebugServer.cppSource/WebCore/bindings/js/PageScriptDebugServer.cpp:69 > > + m_listeners.add(listener); > > Odd white space here too. I think it was just rendering weird on my phone.
WebKit Commit Bot
Comment 5 2014-04-11 10:48:51 PDT
Comment on attachment 229098 [details] [PATCH] Proposed Fix Clearing flags on attachment: 229098 Committed r167133: <http://trac.webkit.org/changeset/167133>
WebKit Commit Bot
Comment 6 2014-04-11 10:48:56 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.