/external/v8/src/inspector/ |
D | v8-inspector-impl.cc | 62 int V8InspectorImpl::contextGroupId(v8::Local<v8::Context> context) { in contextGroupId() function in v8_inspector::V8InspectorImpl 63 return contextGroupId(InspectedContext::contextId(context)); in contextGroupId() 66 int V8InspectorImpl::contextGroupId(int contextId) { in contextGroupId() function in v8_inspector::V8InspectorImpl 73 int contextGroupId) { in enabledDebuggerAgentForGroup() argument 74 V8InspectorSessionImpl* session = sessionForContextGroup(contextGroupId); in enabledDebuggerAgentForGroup() 80 int contextGroupId) { in enabledRuntimeAgentForGroup() argument 81 V8InspectorSessionImpl* session = sessionForContextGroup(contextGroupId); in enabledRuntimeAgentForGroup() 87 int contextGroupId) { in enabledProfilerAgentForGroup() argument 88 V8InspectorSessionImpl* session = sessionForContextGroup(contextGroupId); in enabledProfilerAgentForGroup() 97 int groupId = contextGroupId(context); in runCompiledScript() [all …]
|
D | v8-inspector-impl.h | 60 int contextGroupId(v8::Local<v8::Context>); 61 int contextGroupId(int contextId); 82 std::unique_ptr<V8InspectorSession> connect(int contextGroupId, 87 void resetContextGroup(int contextGroupId) override; 113 void muteExceptions(int contextGroupId); 114 void unmuteExceptions(int contextGroupId); 115 V8ConsoleMessageStorage* ensureConsoleMessageStorage(int contextGroupId); 116 bool hasConsoleMessageStorage(int contextGroupId); 119 void discardInspectedContext(int contextGroupId, int contextId); 120 const ContextByIdMap* contextGroup(int contextGroupId); [all …]
|
D | v8-function-call.cc | 93 int contextGroupId = m_inspector->contextGroupId(m_context); in callWithoutExceptionHandling() local 94 if (contextGroupId) { in callWithoutExceptionHandling() 95 m_inspector->client()->muteMetrics(contextGroupId); in callWithoutExceptionHandling() 96 m_inspector->muteExceptions(contextGroupId); in callWithoutExceptionHandling() 102 if (contextGroupId) { in callWithoutExceptionHandling() 103 m_inspector->client()->unmuteMetrics(contextGroupId); in callWithoutExceptionHandling() 104 m_inspector->unmuteExceptions(contextGroupId); in callWithoutExceptionHandling()
|
D | v8-runtime-agent-impl.cc | 66 const String16& notPromiseError, int contextGroupId, in add() argument 84 inspector, contextGroupId, executionContextId, objectGroup, in add() 157 ProtocolPromiseHandler(V8InspectorImpl* inspector, int contextGroupId, in ProtocolPromiseHandler() argument 162 m_contextGroupId(contextGroupId), in ProtocolPromiseHandler() 235 Response ensureContext(V8InspectorImpl* inspector, int contextGroupId, in ensureContext() argument 242 inspector->client()->ensureDefaultContextInGroup(contextGroupId); in ensureContext() 272 Response response = ensureContext(m_inspector, m_session->contextGroupId(), in evaluate() 279 InjectedScript::ContextScope scope(m_inspector, m_session->contextGroupId(), in evaluate() 322 "Result of the evaluation is not a promise", m_session->contextGroupId(), in evaluate() 332 InjectedScript::ObjectScope scope(m_inspector, m_session->contextGroupId(), in awaitPromise() [all …]
|
D | v8-stack-trace-impl.cc | 26 int contextGroupId) { in toFrame() argument 52 V8Debugger* debugger, int contextGroupId) { in toFramesVector() argument 61 frames.push_back(toFrame(stackFrame, wasmTranslation, contextGroupId)); in toFramesVector() 117 V8Debugger* debugger, int contextGroupId, in create() argument 125 contextGroupId); in create() 137 if (contextGroupId && asyncCallChain && asyncCallChain->m_contextGroupId && in create() 138 asyncCallChain->m_contextGroupId != contextGroupId) { in create() 154 contextGroupId, description, frames, in create() 170 V8Debugger* debugger, int contextGroupId, size_t maxStackSize, in capture() argument 179 return V8StackTraceImpl::create(debugger, contextGroupId, stackTrace, in capture() [all …]
|
D | v8-console-message.cc | 235 int contextGroupId = session->contextGroupId(); in wrapArguments() local 239 inspector->getContext(contextGroupId, contextId); in wrapArguments() 255 inspectedContext = inspector->getContext(contextGroupId, contextId); in wrapArguments() 266 inspectedContext = inspector->getContext(contextGroupId, contextId); in wrapArguments() 281 int contextGroupId = session->contextGroupId(); in reportToFrontend() local 287 if (!inspector->hasConsoleMessageStorage(contextGroupId)) return; in reportToFrontend() 312 if (!inspector->hasConsoleMessageStorage(contextGroupId)) return; in reportToFrontend() 339 session->inspector()->getContext(session->contextGroupId(), m_contextId); in wrapException() 362 int contextGroupId = inspectedContext->contextGroupId(); in createForConsoleAPI() local 400 contextGroupId, clientLevel, toStringView(message->m_message), in createForConsoleAPI() [all …]
|
D | v8-debugger.cc | 40 int contextGroupId = inspector->contextGroupId(contextId); in agentForScript() local 41 if (!contextGroupId) return nullptr; in agentForScript() 42 return inspector->enabledDebuggerAgentForGroup(contextGroupId); in agentForScript() 206 int contextGroupId, in getCompiledScripts() argument 218 if (m_inspector->contextGroupId(contextId) != contextGroupId) continue; in getCompiledScripts() 535 m_inspector->contextGroupId(pausedContext)); in handleProgramBreak() 556 int groupId = m_inspector->contextGroupId(pausedContext); in handleProgramBreak() 805 int contextGroupId = in createStackTrace() local 807 ? m_inspector->contextGroupId(m_isolate->GetCurrentContext()) in createStackTrace() 809 return V8StackTraceImpl::create(this, contextGroupId, stackTrace, in createStackTrace() [all …]
|
D | injected-script.cc | 98 int contextGroupId = inspectedContext->contextGroupId(); in create() local 105 if (inspector->getContext(contextGroupId, contextId) != inspectedContext) in create() 415 InjectedScript::Scope::Scope(V8InspectorImpl* inspector, int contextGroupId) in Scope() argument 417 m_contextGroupId(contextGroupId), in Scope() 490 int contextGroupId, in ContextScope() argument 492 : InjectedScript::Scope(inspector, contextGroupId), in ContextScope() 503 int contextGroupId, in ObjectScope() argument 505 : InjectedScript::Scope(inspector, contextGroupId), in ObjectScope() 526 int contextGroupId, in CallFrameScope() argument 528 : InjectedScript::Scope(inspector, contextGroupId), in CallFrameScope()
|
D | v8-stack-trace-impl.h | 58 V8Debugger*, int contextGroupId, v8::Local<v8::StackTrace>, 61 V8Debugger*, int contextGroupId, size_t maxStackSize, 87 V8StackTraceImpl(int contextGroupId, const String16& description,
|
D | injected-script.h | 113 Scope(V8InspectorImpl*, int contextGroupId); 137 ContextScope(V8InspectorImpl*, int contextGroupId, int executionContextId); 149 ObjectScope(V8InspectorImpl*, int contextGroupId, 166 CallFrameScope(V8InspectorImpl*, 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, V8Inspector::Channel*, 45 int contextGroupId() const { return m_contextGroupId; } in contextGroupId() function 94 V8InspectorSessionImpl(V8InspectorImpl*, int contextGroupId,
|
D | v8-console-message.h | 103 V8ConsoleMessageStorage(V8InspectorImpl*, int contextGroupId); 106 int contextGroupId() { return m_contextGroupId; } in contextGroupId() function
|
D | v8-inspector-session-impl.cc | 46 V8InspectorImpl* inspector, int contextGroupId, in create() argument 49 new V8InspectorSessionImpl(inspector, contextGroupId, channel, state)); in create() 53 int contextGroupId, in V8InspectorSessionImpl() argument 56 : m_contextGroupId(contextGroupId), in V8InspectorSessionImpl()
|
D | inspected-context.h | 28 int contextGroupId() const { return m_contextGroupId; } in contextGroupId() function
|
D | v8-debugger-agent-impl.cc | 147 m_debugger->getCompiledScripts(m_session->contextGroupId(), compiledScripts); in enableImpl() 161 if (!m_inspector->client()->canExecuteScripts(m_session->contextGroupId())) in enable() 203 if (!m_inspector->client()->canExecuteScripts(m_session->contextGroupId())) in restore() 554 InjectedScript::CallFrameScope scope(m_inspector, m_session->contextGroupId(), in restartFrame() 709 InjectedScript::CallFrameScope scope(m_inspector, m_session->contextGroupId(), in evaluateOnCallFrame() 740 InjectedScript::CallFrameScope scope(m_inspector, m_session->contextGroupId(), in setVariableValue() 1001 int contextGroupId = m_inspector->contextGroupId(contextId); in didParseSource() local 1003 m_inspector->getContext(contextGroupId, contextId); in didParseSource()
|
D | v8-console.cc | 96 int contextGroupId = inspectedContext->contextGroupId(); in reportCall() local 102 inspector->ensureConsoleMessageStorage(contextGroupId) in reportCall() 218 inspectedContext->contextGroupId()); in currentSession() 342 int contextGroupId = context->contextGroupId(); in clearCallback() local 344 client->consoleClear(contextGroupId); in clearCallback()
|
D | inspected-context.cc | 39 m_contextGroupId(info.contextGroupId), in InspectedContext()
|
D | v8-debugger.h | 63 void getCompiledScripts(int contextGroupId,
|
D | v8-heap-profiler-agent-impl.cc | 58 m_session->contextGroupId(), in GetName()
|
/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 165 virtual void runMessageLoopOnPause(int contextGroupId) {} in runMessageLoopOnPause() argument 167 virtual void runIfWaitingForDebugger(int contextGroupId) {} in runIfWaitingForDebugger() argument 169 virtual void muteMetrics(int contextGroupId) {} in muteMetrics() argument 170 virtual void unmuteMetrics(int contextGroupId) {} in unmuteMetrics() argument 184 int contextGroupId) { in ensureDefaultContextInGroup() argument 187 virtual void beginEnsureAllContextsInGroup(int contextGroupId) {} in beginEnsureAllContextsInGroup() argument 188 virtual void endEnsureAllContextsInGroup(int contextGroupId) {} in endEnsureAllContextsInGroup() argument [all …]
|