Index: Source/WebCore/inspector/InspectorInstrumentation.cpp |
=================================================================== |
--- Source/WebCore/inspector/InspectorInstrumentation.cpp (revision 107228) |
+++ Source/WebCore/inspector/InspectorInstrumentation.cpp (working copy) |
@@ -112,6 +112,15 @@ |
#endif |
} |
+bool InspectorInstrumentation::isDebuggerPausedImpl(InstrumentingAgents* instrumentingAgents) |
+{ |
+#if ENABLE(JAVASCRIPT_DEBUGGER) |
+ if (InspectorDebuggerAgent* debuggerAgent = instrumentingAgents->inspectorDebuggerAgent()) |
+ return debuggerAgent->isPaused(); |
+#endif |
+ return false; |
+} |
+ |
void InspectorInstrumentation::willInsertDOMNodeImpl(InstrumentingAgents* instrumentingAgents, Node* node, Node* parent) |
{ |
#if ENABLE(JAVASCRIPT_DEBUGGER) |