/external/v8/src/inspector/ |
D | v8-inspector-impl.cc | 75 int V8InspectorImpl::contextGroupId(v8::Local<v8::Context> context) const { in contextGroupId() function in v8_inspector::V8InspectorImpl 76 return contextGroupId(InspectedContext::contextId(context)); in contextGroupId() 79 int V8InspectorImpl::contextGroupId(int contextId) const { in contextGroupId() function in v8_inspector::V8InspectorImpl 124 void V8InspectorImpl::muteExceptions(int contextGroupId) { in muteExceptions() argument 125 m_muteExceptionsMap[contextGroupId]++; in muteExceptions() 128 void V8InspectorImpl::unmuteExceptions(int contextGroupId) { in unmuteExceptions() argument 129 m_muteExceptionsMap[contextGroupId]--; in unmuteExceptions() 133 int contextGroupId) { in ensureConsoleMessageStorage() argument 135 m_consoleStorageMap.find(contextGroupId); in ensureConsoleMessageStorage() 139 contextGroupId, in ensureConsoleMessageStorage() [all …]
|
D | v8-inspector-impl.h | 64 int contextGroupId(v8::Local<v8::Context>) const; 65 int contextGroupId(int contextId) const; 76 std::unique_ptr<V8InspectorSession> connect(int contextGroupId, 83 void contextCollected(int contextGroupId, int contextId); 84 void resetContextGroup(int contextGroupId) override; 112 void muteExceptions(int contextGroupId); 113 void unmuteExceptions(int contextGroupId); 114 V8ConsoleMessageStorage* ensureConsoleMessageStorage(int contextGroupId); 115 bool hasConsoleMessageStorage(int contextGroupId); 116 void discardInspectedContext(int contextGroupId, int contextId); [all …]
|
D | v8-function-call.cc | 95 int contextGroupId = m_inspector->contextGroupId(m_context); in callWithoutExceptionHandling() local 96 if (contextGroupId) { in callWithoutExceptionHandling() 97 m_inspector->client()->muteMetrics(contextGroupId); in callWithoutExceptionHandling() 98 m_inspector->muteExceptions(contextGroupId); in callWithoutExceptionHandling() 105 if (contextGroupId) { in callWithoutExceptionHandling() 106 m_inspector->client()->unmuteMetrics(contextGroupId); in callWithoutExceptionHandling() 107 m_inspector->unmuteExceptions(contextGroupId); in callWithoutExceptionHandling()
|
D | v8-stack-trace-impl.cc | 37 void calculateAsyncChain(V8Debugger* debugger, int contextGroupId, in calculateAsyncChain() argument 48 if (contextGroupId && *asyncParent && in calculateAsyncChain() 50 (*asyncParent)->contextGroupId() != contextGroupId) { in calculateAsyncChain() 182 V8Debugger* debugger, int contextGroupId, in create() argument 197 calculateAsyncChain(debugger, contextGroupId, &asyncParent, &externalParent, in create() 207 V8Debugger* debugger, int contextGroupId, int maxStackSize) { in capture() argument 216 return V8StackTraceImpl::create(debugger, contextGroupId, v8StackTrace, in capture() 345 V8Debugger* debugger, int contextGroupId, const String16& description, in capture() argument 361 calculateAsyncChain(debugger, contextGroupId, &asyncParent, &externalParent, in capture() 375 DCHECK(contextGroupId || asyncParent || !externalParent.IsInvalid()); in capture() [all …]
|
D | v8-debugger.cc | 213 bool V8Debugger::isPausedInContextGroup(int contextGroupId) const { in isPausedInContextGroup() 214 return isPaused() && m_pausedContextGroupId == contextGroupId; in isPausedInContextGroup() 220 int contextGroupId, in getCompiledScripts() argument 235 if (m_inspector->contextGroupId(contextId) != contextGroupId) continue; in getCompiledScripts() 487 int contextGroupId = m_inspector->contextGroupId(pausedContext); in handleProgramBreak() local 488 if (m_targetContextGroupId && contextGroupId != m_targetContextGroupId) { in handleProgramBreak() 507 contextGroupId, in handleProgramBreak() 521 DCHECK(contextGroupId); in handleProgramBreak() 522 m_pausedContextGroupId = contextGroupId; in handleProgramBreak() 525 contextGroupId, [&pausedContext, &exception, &breakpointIds, in handleProgramBreak() [all …]
|
D | v8-stack-trace-impl.h | 55 int contextGroupId, 59 int contextGroupId, 113 int contextGroupId, 132 int contextGroupId() const; 143 AsyncStackTrace(int contextGroupId, const String16& description,
|
D | v8-runtime-agent-impl.cc | 203 Response ensureContext(V8InspectorImpl* inspector, int contextGroupId, in ensureContext() argument 210 inspector->client()->ensureDefaultContextInGroup(contextGroupId); in ensureContext() 241 Response response = ensureContext(m_inspector, m_session->contextGroupId(), in evaluate() 356 ensureContext(m_inspector, m_session->contextGroupId(), in callFunctionOn() 453 m_inspector->client()->runIfWaitingForDebugger(m_session->contextGroupId()); in runIfWaitingForDebugger() 475 m_inspector->ensureConsoleMessageStorage(m_session->contextGroupId()); in discardConsoleEntries() 487 Response response = ensureContext(m_inspector, m_session->contextGroupId(), in compileScript() 539 Response response = ensureContext(m_inspector, m_session->contextGroupId(), in runScript() 614 Response response = ensureContext(m_inspector, m_session->contextGroupId(), in globalLexicalScopeNames() 665 m_inspector->getContext(m_session->contextGroupId(), contextId); in addBinding() [all …]
|
D | v8-console-message.cc | 248 int contextGroupId = session->contextGroupId(); in wrapArguments() local 252 inspector->getContext(contextGroupId, contextId); in wrapArguments() 268 inspectedContext = inspector->getContext(contextGroupId, contextId); in wrapArguments() 279 inspectedContext = inspector->getContext(contextGroupId, contextId); in wrapArguments() 294 int contextGroupId = session->contextGroupId(); in reportToFrontend() local 300 if (!inspector->hasConsoleMessageStorage(contextGroupId)) return; in reportToFrontend() 327 if (!inspector->hasConsoleMessageStorage(contextGroupId)) return; in reportToFrontend() 359 session->inspector()->getContext(session->contextGroupId(), m_contextId); in wrapException() 475 int contextGroupId) in V8ConsoleMessageStorage() argument 476 : m_inspector(inspector), m_contextGroupId(contextGroupId) {} in V8ConsoleMessageStorage() [all …]
|
D | v8-debugger-agent-impl.cc | 328 m_debugger->getCompiledScripts(m_session->contextGroupId(), compiledScripts); in enableImpl() 343 m_debugger->debuggerIdFor(m_session->contextGroupId())); in enable() 346 if (!m_inspector->client()->canExecuteScripts(m_session->contextGroupId())) in enable() 393 if (!m_inspector->client()->canExecuteScripts(m_session->contextGroupId())) in restore() 424 m_debugger->setPauseOnNextCall(false, m_session->contextGroupId()); in setBreakpointsActive() 709 m_session->contextGroupId(), script, std::move(location), in continueToLocation() 724 debuggerId = m_debugger->debuggerIdFor(m_session->contextGroupId()); in getStackTrace() 731 m_debugger->stackTraceFor(m_session->contextGroupId(), v8StackTraceId); in getStackTrace() 955 m_debugger->setPauseOnNextCall(true, m_session->contextGroupId()); in schedulePauseOnNextStatement() 963 m_debugger->setPauseOnNextCall(false, m_session->contextGroupId()); in cancelPauseOnNextStatement() [all …]
|
D | v8-debugger.h | 79 void getCompiledScripts(int contextGroupId, 85 bool isPausedInContextGroup(int contextGroupId) const; 131 std::pair<int64_t, int64_t> debuggerIdFor(int contextGroupId); 134 std::shared_ptr<AsyncStackTrace> stackTraceFor(int contextGroupId,
|
D | v8-console-agent-impl.cc | 63 m_session->contextGroupId()); in reportAllMessages() 77 m_session->contextGroupId()); in reportMessage()
|
D | v8-inspector-session-impl.h | 35 V8InspectorImpl*, int contextGroupId, int sessionId, 45 int contextGroupId() const { return m_contextGroupId; } in contextGroupId() function 95 V8InspectorSessionImpl(V8InspectorImpl*, int contextGroupId, int sessionId,
|
D | v8-console-message.h | 107 V8ConsoleMessageStorage(V8InspectorImpl*, int contextGroupId); 110 int contextGroupId() { return m_contextGroupId; } in contextGroupId() function
|
D | v8-inspector-session-impl.cc | 46 V8InspectorImpl* inspector, int contextGroupId, int sessionId, in create() argument 49 inspector, contextGroupId, sessionId, channel, state)); in create() 53 int contextGroupId, in V8InspectorSessionImpl() argument 57 : m_contextGroupId(contextGroupId), in V8InspectorSessionImpl()
|
D | inspected-context.h | 31 int contextGroupId() const { return m_contextGroupId; } in contextGroupId() function
|
D | injected-script.cc | 137 m_contextGroupId(session->contextGroupId()), in ProtocolPromiseHandler() 301 int contextGroupId = inspectedContext->contextGroupId(); in create() local 308 if (inspector->getContext(contextGroupId, contextId) != inspectedContext) in create() 662 m_contextGroupId(session->contextGroupId()), in Scope()
|
D | inspected-context.cc | 55 m_contextGroupId(info.contextGroupId), in InspectedContext()
|
D | v8-heap-profiler-agent-impl.cc | 58 m_session->contextGroupId(), in GetName()
|
D | v8-console.cc | 44 m_groupId(m_inspector->contextGroupId(m_contextId)) {} in ConsoleHelper()
|
/external/v8/include/ |
D | v8-inspector.h | 73 V8ContextInfo(v8::Local<v8::Context> context, int contextGroupId, in V8ContextInfo() argument 76 contextGroupId(contextGroupId), in V8ContextInfo() 82 int contextGroupId; variable 167 virtual void runMessageLoopOnPause(int contextGroupId) {} in runMessageLoopOnPause() argument 169 virtual void runIfWaitingForDebugger(int contextGroupId) {} in runIfWaitingForDebugger() argument 171 virtual void muteMetrics(int contextGroupId) {} in muteMetrics() argument 172 virtual void unmuteMetrics(int contextGroupId) {} in unmuteMetrics() argument 186 int contextGroupId) { in ensureDefaultContextInGroup() argument 189 virtual void beginEnsureAllContextsInGroup(int contextGroupId) {} in beginEnsureAllContextsInGroup() argument 190 virtual void endEnsureAllContextsInGroup(int contextGroupId) {} in endEnsureAllContextsInGroup() argument [all …]
|