![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Classes | |
class | AccessorPair |
class | AsyncEventDelegate |
class | BreakLocation |
class | ConsoleCallArguments |
class | ConsoleContext |
class | ConsoleDelegate |
class | Coverage |
class | DebugDelegate |
class | DisableBreakScope |
class | DisassemblyCollector |
class | EphemeronTable |
class | GeneratorObject |
struct | LiveEditResult |
class | Location |
class | PostponeInterruptsScope |
struct | PropertyDescriptor |
class | PropertyIterator |
class | ScopeIterator |
class | Script |
class | ScriptSource |
class | StackTraceIterator |
Typedefs | |
typedef base::EnumSet< BreakReason > | BreakReasons |
using | BreakpointId = int |
using | OutOfMemoryCallback = void (*)(void* data) |
using v8::debug::BreakpointId = int |
Definition at line 183 of file interface-types.h.
Definition at line 143 of file debug-interface.h.
using v8::debug::OutOfMemoryCallback = void (*)(void* data) |
Enumerator | |
---|---|
kCallBreakLocation | |
kReturnBreakLocation | |
kDebuggerStatementBreakLocation | |
kCommonBreakLocation |
Definition at line 58 of file interface-types.h.
|
strong |
Enumerator | |
---|---|
kAlreadyPaused | |
kStep | |
kAsyncStep | |
kException | |
kAssert | |
kDebuggerStatement | |
kOOM | |
kScheduled | |
kAgent |
Definition at line 132 of file debug-interface.h.
enum v8::debug::Builtin |
Enumerator | |
---|---|
kStringToLowerCase |
Definition at line 365 of file debug-interface.h.
|
strong |
Enumerator | |
---|---|
kBestEffort | |
kPreciseCount | |
kPreciseBinary | |
kBlockCount | |
kBlockBinary |
Definition at line 65 of file interface-types.h.
Enumerator | |
---|---|
kDebugAwait | |
kDebugPromiseThen | |
kDebugPromiseCatch | |
kDebugPromiseFinally | |
kDebugWillHandle | |
kDebugDidHandle | |
kDebugStackTraceCaptured |
Definition at line 48 of file interface-types.h.
|
strong |
Enumerator | |
---|---|
kDefault | |
kDisableBreaks | |
kDisableBreaksAndThrowOnSideEffect |
Definition at line 558 of file debug-interface.h.
Enumerator | |
---|---|
NoBreakOnException | |
BreakOnCaughtException | |
BreakOnUncaughtException | |
BreakOnAnyException |
Definition at line 106 of file debug-interface.h.
Enumerator | |
---|---|
kException | |
kPromiseRejection |
Definition at line 297 of file debug-interface.h.
|
strong |
Enumerator | |
---|---|
None | |
HasGetter | |
HasSetter | |
IsValueUnavailable |
Definition at line 544 of file debug-interface.h.
|
strong |
Enumerator | |
---|---|
kPrivateMethods | |
kPrivateFields | |
kPrivateAccessors |
Definition at line 78 of file debug-interface.h.
Enumerator | |
---|---|
StepOut | |
StepOver | |
StepInto |
Definition at line 124 of file debug-interface.h.
V8_EXPORT_PRIVATE void v8::debug::BreakRightNow | ( | Isolate * | v8_isolate, |
base::EnumSet< debug::BreakReason > | break_reasons ) |
bool v8::debug::CanBreakProgram | ( | Isolate * | v8_isolate | ) |
void v8::debug::ChangeBreakOnException | ( | Isolate * | isolate, |
ExceptionBreakState | state ) |
Defines if VM will pause on exceptions or not. If BreakOnAnyExceptions is set then VM will pause on caught and uncaught exception, if BreakOnUncaughtException is set then VM will pause only on uncaught exception, otherwise VM won't stop on any exception.
Definition at line 366 of file debug-interface.cc.
V8_EXPORT_PRIVATE void v8::debug::ClearBreakOnNextFunctionCall | ( | Isolate * | isolate | ) |
Definition at line 177 of file debug-interface.cc.
void v8::debug::ClearStepping | ( | Isolate * | v8_isolate | ) |
MaybeLocal< UnboundScript > v8::debug::CompileInspectorScript | ( | Isolate * | v8_isolate, |
Local< String > | source ) |
Definition at line 997 of file debug-interface.cc.
V8_EXPORT_PRIVATE v8::Local< v8::Message > v8::debug::CreateMessageFromException | ( | Isolate * | v8_isolate, |
v8::Local< v8::Value > | v8_error ) |
Definition at line 1137 of file debug-interface.cc.
Definition at line 1057 of file debug-interface.cc.
V8_EXPORT_PRIVATE v8::MaybeLocal< v8::Value > v8::debug::EvaluateGlobal | ( | v8::Isolate * | isolate, |
v8::Local< v8::String > | source, | ||
EvaluateGlobalMode | mode, | ||
bool | repl ) |
Definition at line 1210 of file debug-interface.cc.
void v8::debug::ForceGarbageCollection | ( | Isolate * | isolate, |
StackState | embedder_stack_state ) |
Definition at line 42 of file debug-interface.cc.
MaybeLocal< Context > v8::debug::GetCreationContext | ( | Local< Object > | value | ) |
Forwards to v8::Object::CreationContext, but with special handling for JSGlobalProxy objects.
Definition at line 357 of file debug-interface.cc.
v8::Platform * v8::debug::GetCurrentPlatform | ( | ) |
int v8::debug::GetDebuggingId | ( | v8::Local< v8::Function > | function | ) |
v8_inspector::V8Inspector * v8::debug::GetInspector | ( | Isolate * | isolate | ) |
MaybeLocal< Array > v8::debug::GetInternalProperties | ( | Isolate * | isolate, |
Local< Value > | value ) |
Returns array of internal properties specific to the value type. Result has the following format: [<name>,
,...,<name>,
]. Result array will be allocated in the current context.
Definition at line 183 of file debug-interface.cc.
uint64_t v8::debug::GetIsolateId | ( | v8::Isolate * | v8_isolate | ) |
Definition at line 1436 of file debug-interface.cc.
V8_EXPORT_PRIVATE void v8::debug::GetLoadedScripts | ( | Isolate * | v8_isolate, |
std::vector< v8::Global< Script > > & | scripts ) |
Definition at line 972 of file debug-interface.cc.
MaybeLocal< Message > v8::debug::GetMessageFromPromise | ( | Local< Promise > | p | ) |
Definition at line 1413 of file debug-interface.cc.
int64_t v8::debug::GetNextRandomInt64 | ( | v8::Isolate * | v8_isolate | ) |
V8_EXPORT_PRIVATE bool v8::debug::GetPrivateMembers | ( | Local< Context > | context, |
Local< Object > | value, | ||
int | filter, | ||
LocalVector< Value > * | names_out, | ||
LocalVector< Value > * | values_out ) |
Retrieve both instance and static private members on an object. filter should be a combination of PrivateMemberFilter. Returns through the out parameters names_out a vector of names in v8::String and through values_out the corresponding values. Private fields and methods are returned directly while accessors are returned as v8::debug::AccessorPair. Missing components in the accessor pairs are null. If an exception occurs, false is returned. Otherwise true is returned. Results will be allocated in the current context and handle scope.
Definition at line 226 of file debug-interface.cc.
void v8::debug::GlobalLexicalScopeNames | ( | v8::Local< v8::Context > | v8_context, |
std::vector< v8::Global< v8::String > > * | names ) |
Definition at line 1226 of file debug-interface.cc.
void v8::debug::NotifyDebuggerPausedEventSent | ( | v8::Isolate * | v8_isolate | ) |
Definition at line 1431 of file debug-interface.cc.
bool v8::debug::PrepareRestartFrame | ( | Isolate * | v8_isolate, |
int | callFrameOrdinal ) |
void v8::debug::PrepareStep | ( | Isolate * | v8_isolate, |
StepAction | action ) |
void v8::debug::RecordAsyncStackTaggingCreateTaskCall | ( | v8::Isolate * | v8_isolate | ) |
Definition at line 1426 of file debug-interface.cc.
void v8::debug::RemoveBreakpoint | ( | Isolate * | v8_isolate, |
BreakpointId | id ) |
V8_EXPORT_PRIVATE void v8::debug::SetAsyncEventDelegate | ( | Isolate * | v8_isolate, |
AsyncEventDelegate * | delegate ) |
V8_EXPORT_PRIVATE void v8::debug::SetBreakOnNextFunctionCall | ( | Isolate * | isolate | ) |
Definition at line 171 of file debug-interface.cc.
void v8::debug::SetBreakPointsActive | ( | Isolate * | v8_isolate, |
bool | is_active ) |
V8_EXPORT_PRIVATE void v8::debug::SetConsoleDelegate | ( | Isolate * | v8_isolate, |
ConsoleDelegate * | delegate ) |
Definition at line 36 of file debug-interface.cc.
V8_EXPORT_PRIVATE void v8::debug::SetDebugDelegate | ( | Isolate * | v8_isolate, |
DebugDelegate * | delegate ) |
Definition at line 1034 of file debug-interface.cc.
V8_EXPORT_PRIVATE bool v8::debug::SetFunctionBreakpoint | ( | v8::Local< v8::Function > | function, |
v8::Local< v8::String > | condition, | ||
BreakpointId * | id ) |
Definition at line 1265 of file debug-interface.cc.
void v8::debug::SetInspector | ( | Isolate * | isolate, |
v8_inspector::V8Inspector * | inspector ) |
void v8::debug::SetIsolateId | ( | v8::Isolate * | v8_isolate, |
uint64_t | id ) |
Definition at line 1441 of file debug-interface.cc.
void v8::debug::SetReturnValue | ( | v8::Isolate * | v8_isolate, |
v8::Local< v8::Value > | value ) |
Definition at line 1245 of file debug-interface.cc.
V8_EXPORT_PRIVATE void v8::debug::SetTerminateOnResume | ( | Isolate * | v8_isolate | ) |