Home
last modified time | relevance | path

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

/external/v8/src/inspector/
Dv8-inspector-impl.cc75 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 …]
Dv8-inspector-impl.h64 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 …]
Dv8-function-call.cc95 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()
Dv8-stack-trace-impl.cc37 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 …]
Dv8-debugger.cc213 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 …]
Dv8-stack-trace-impl.h55 int contextGroupId,
59 int contextGroupId,
113 int contextGroupId,
132 int contextGroupId() const;
143 AsyncStackTrace(int contextGroupId, const String16& description,
Dv8-runtime-agent-impl.cc203 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 …]
Dv8-console-message.cc248 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 …]
Dv8-debugger-agent-impl.cc328 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 …]
Dv8-debugger.h79 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,
Dv8-console-agent-impl.cc63 m_session->contextGroupId()); in reportAllMessages()
77 m_session->contextGroupId()); in reportMessage()
Dv8-inspector-session-impl.h35 V8InspectorImpl*, int contextGroupId, int sessionId,
45 int contextGroupId() const { return m_contextGroupId; } in contextGroupId() function
95 V8InspectorSessionImpl(V8InspectorImpl*, int contextGroupId, int sessionId,
Dv8-console-message.h107 V8ConsoleMessageStorage(V8InspectorImpl*, int contextGroupId);
110 int contextGroupId() { return m_contextGroupId; } in contextGroupId() function
Dv8-inspector-session-impl.cc46 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()
Dinspected-context.h31 int contextGroupId() const { return m_contextGroupId; } in contextGroupId() function
Dinjected-script.cc137 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()
Dinspected-context.cc55 m_contextGroupId(info.contextGroupId), in InspectedContext()
Dv8-heap-profiler-agent-impl.cc58 m_session->contextGroupId(), in GetName()
Dv8-console.cc44 m_groupId(m_inspector->contextGroupId(m_contextId)) {} in ConsoleHelper()
/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
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 …]