v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8-debugger-agent-impl.cc File Reference
#include "src/inspector/v8-debugger-agent-impl.h"
#include <algorithm>
#include <memory>
#include "../../third_party/inspector_protocol/crdtp/json.h"
#include "include/v8-context.h"
#include "include/v8-function.h"
#include "include/v8-inspector.h"
#include "include/v8-microtask-queue.h"
#include "src/base/numerics/safe_conversions.h"
#include "src/debug/debug-interface.h"
#include "src/inspector/crc32.h"
#include "src/inspector/injected-script.h"
#include "src/inspector/inspected-context.h"
#include "src/inspector/protocol/Debugger.h"
#include "src/inspector/protocol/Protocol.h"
#include "src/inspector/remote-object-id.h"
#include "src/inspector/search-util.h"
#include "src/inspector/string-util.h"
#include "src/inspector/v8-debugger-script.h"
#include "src/inspector/v8-debugger.h"
#include "src/inspector/v8-inspector-impl.h"
#include "src/inspector/v8-inspector-session-impl.h"
#include "src/inspector/v8-regex.h"
#include "src/inspector/v8-runtime-agent-impl.h"
#include "src/inspector/v8-stack-trace-impl.h"
#include "src/inspector/v8-value-utils.h"
Include dependency graph for v8-debugger-agent-impl.cc:

Go to the source code of this file.

Classes

struct  v8_inspector::DisassemblyChunk
 
class  v8_inspector::DisassemblyCollectorImpl
 

Namespaces

namespace  v8_inspector
 
namespace  v8_inspector::DebuggerAgentState
 

Functions

static String16 v8_inspector::getScriptLanguage (const V8DebuggerScript &script)
 

Variables

static const char v8_inspector::DebuggerAgentState::pauseOnExceptionsState [] = "pauseOnExceptionsState"
 
static const char v8_inspector::DebuggerAgentState::asyncCallStackDepth [] = "asyncCallStackDepth"
 
static const char v8_inspector::DebuggerAgentState::blackboxPattern [] = "blackboxPattern"
 
static const char v8_inspector::DebuggerAgentState::skipAnonymousScripts [] = "skipAnonymousScripts"
 
static const char v8_inspector::DebuggerAgentState::debuggerEnabled [] = "debuggerEnabled"
 
static const char v8_inspector::DebuggerAgentState::breakpointsActiveWhenEnabled [] = "breakpointsActive"
 
static const char v8_inspector::DebuggerAgentState::skipAllPauses [] = "skipAllPauses"
 
static const char v8_inspector::DebuggerAgentState::breakpointsByRegex [] = "breakpointsByRegex"
 
static const char v8_inspector::DebuggerAgentState::breakpointsByUrl [] = "breakpointsByUrl"
 
static const char v8_inspector::DebuggerAgentState::breakpointsByScriptHash [] = "breakpointsByScriptHash"
 
static const char v8_inspector::DebuggerAgentState::breakpointHints [] = "breakpointHints"
 
static const char v8_inspector::DebuggerAgentState::breakpointHintText [] = "text"
 
static const char v8_inspector::DebuggerAgentState::breakpointHintPrefixHash [] = "prefixHash"
 
static const char v8_inspector::DebuggerAgentState::breakpointHintPrefixLength [] = "prefixLen"
 
static const char v8_inspector::DebuggerAgentState::instrumentationBreakpoints [] = "instrumentationBreakpoints"
 
static const char v8_inspector::DebuggerAgentState::maxScriptCacheSize [] = "maxScriptCacheSize"
 
static const char v8_inspector::kBacktraceObjectGroup [] = "backtrace"
 
static const char v8_inspector::kDebuggerNotEnabled [] = "Debugger agent is not enabled"
 
static const char v8_inspector::kDebuggerNotPaused []
 
static const size_t v8_inspector::kBreakpointHintMaxLength = 128
 
static const intptr_t v8_inspector::kBreakpointHintMaxSearchOffset = 80 * 10
 
static const size_t v8_inspector::kMaxNumBreakpoints = 1000
 

Variable Documentation

◆ regex_

std::unique_ptr<V8Regex> regex_
private

Definition at line 610 of file v8-debugger-agent-impl.cc.

◆ script_

V8DebuggerScript& script_
private

Definition at line 1939 of file v8-debugger-agent-impl.cc.

◆ selector_

const String16& selector_
private

Definition at line 612 of file v8-debugger-agent-impl.cc.

◆ type_

BreakpointType type_
private

Definition at line 611 of file v8-debugger-agent-impl.cc.