Home
last modified time | relevance | path

Searched refs:contextGroupId (Results 1 – 21 of 21) sorted by relevance

/external/v8/src/inspector/
Dv8-inspector-impl.cc62 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 …]
Dv8-inspector-impl.h60 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 …]
Dv8-function-call.cc93 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()
Dv8-runtime-agent-impl.cc66 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 …]
Dv8-stack-trace-impl.cc26 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 …]
Dv8-console-message.cc235 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 …]
Dv8-debugger.cc40 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 …]
Dinjected-script.cc98 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()
Dv8-stack-trace-impl.h58 V8Debugger*, int contextGroupId, v8::Local<v8::StackTrace>,
61 V8Debugger*, int contextGroupId, size_t maxStackSize,
87 V8StackTraceImpl(int contextGroupId, const String16& description,
Dinjected-script.h113 Scope(V8InspectorImpl*, int contextGroupId);
137 ContextScope(V8InspectorImpl*, int contextGroupId, int executionContextId);
149 ObjectScope(V8InspectorImpl*, int contextGroupId,
166 CallFrameScope(V8InspectorImpl*, int contextGroupId,
Dv8-console-agent-impl.cc63 m_session->contextGroupId()); in reportAllMessages()
77 m_session->contextGroupId()); in reportMessage()
Dv8-inspector-session-impl.h35 V8InspectorImpl*, int contextGroupId, V8Inspector::Channel*,
45 int contextGroupId() const { return m_contextGroupId; } in contextGroupId() function
94 V8InspectorSessionImpl(V8InspectorImpl*, int contextGroupId,
Dv8-console-message.h103 V8ConsoleMessageStorage(V8InspectorImpl*, int contextGroupId);
106 int contextGroupId() { return m_contextGroupId; } in contextGroupId() function
Dv8-inspector-session-impl.cc46 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()
Dinspected-context.h28 int contextGroupId() const { return m_contextGroupId; } in contextGroupId() function
Dv8-debugger-agent-impl.cc147 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()
Dv8-console.cc96 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()
Dinspected-context.cc39 m_contextGroupId(info.contextGroupId), in InspectedContext()
Dv8-debugger.h63 void getCompiledScripts(int contextGroupId,
Dv8-heap-profiler-agent-impl.cc58 m_session->contextGroupId(), in GetName()
/external/v8/include/
Dv8-inspector.h73 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 …]