v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8-debugger-barrier.cc
Go to the documentation of this file.
1
// Copyright 2022 the V8 project authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#include "
src/inspector/v8-debugger-barrier.h
"
6
7
#include "
include/v8-inspector.h
"
8
9
namespace
v8_inspector
{
10
11
V8DebuggerBarrier::V8DebuggerBarrier
(
V8InspectorClient
* client,
12
int
contextGroupId)
13
: m_client(client), m_contextGroupId(contextGroupId) {}
14
15
V8DebuggerBarrier::~V8DebuggerBarrier
() {
16
m_client
->
runIfWaitingForDebugger
(
m_contextGroupId
);
17
}
18
19
}
// namespace v8_inspector
v8_inspector::V8DebuggerBarrier::~V8DebuggerBarrier
~V8DebuggerBarrier()
Definition
v8-debugger-barrier.cc:15
v8_inspector::V8DebuggerBarrier::m_client
V8InspectorClient *const m_client
Definition
v8-debugger-barrier.h:22
v8_inspector::V8DebuggerBarrier::V8DebuggerBarrier
V8DebuggerBarrier(V8InspectorClient *client, int contextGroupId)
Definition
v8-debugger-barrier.cc:11
v8_inspector::V8DebuggerBarrier::m_contextGroupId
int m_contextGroupId
Definition
v8-debugger-barrier.h:23
v8_inspector::V8InspectorClient
Definition
v8-inspector.h:251
v8_inspector::V8InspectorClient::runIfWaitingForDebugger
virtual void runIfWaitingForDebugger(int contextGroupId)
Definition
v8-inspector.h:260
v8_inspector
Definition
debug-interface.h:25
v8-debugger-barrier.h
v8-inspector.h
src
inspector
v8-debugger-barrier.cc
Generated on Sun Apr 6 2025 21:08:54 for v8 by
1.12.0