![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <v8-debug.h>
Public Member Functions | |
Location | GetLocation () const |
int | GetLineNumber () const |
int | GetColumn () const |
int | GetSourcePosition () const |
int | GetScriptId () const |
Local< String > | GetScriptName () const |
Local< String > | GetScriptNameOrSourceURL () const |
Local< String > | GetScriptSource () const |
Local< String > | GetScriptSourceMappingURL () const |
Local< String > | GetFunctionName () const |
bool | IsEval () const |
bool | IsConstructor () const |
bool | IsWasm () const |
bool | IsUserJavaScript () const |
A single JavaScript stack frame.
Definition at line 21 of file v8-debug.h.
|
inline |
Returns the 1-based column offset on the line for the associated function call. This method will return Message::kNoColumnInfo if it is unable to retrieve the column number, or if kColumnOffset was not passed as an option when capturing the StackTrace.
Definition at line 43 of file v8-debug.h.
|
inline |
Returns the number, 1-based, of the line for the associate function call. This method will return Message::kNoLineNumberInfo if it is unable to retrieve the line number, or if kLineNumber was not passed as an option when capturing the StackTrace.
Definition at line 34 of file v8-debug.h.
Location v8::StackFrame::GetLocation | ( | ) | const |
int v8::StackFrame::GetScriptId | ( | ) | const |
Returns the id of the script for the function for this StackFrame. This method will return Message::kNoScriptIdInfo if it is unable to retrieve the script id, or if kScriptId was not passed as an option when capturing the StackTrace.
Definition at line 3106 of file api.cc.
Returns the name of the resource that contains the script for the function for this StackFrame.
Definition at line 3110 of file api.cc.
Returns the name of the resource that contains the script for the function for this StackFrame or sourceURL value if the script name is undefined and its source ends with //# sourceURL=... string or deprecated //@ sourceURL=... string.
Definition at line 3118 of file api.cc.
Returns the source of the script for the function for this StackFrame.
Definition at line 3127 of file api.cc.
Returns the source mapping URL (if one is present) of the script for the function for this StackFrame.
Definition at line 3137 of file api.cc.
int v8::StackFrame::GetSourcePosition | ( | ) | const |
bool v8::StackFrame::IsConstructor | ( | ) | const |
bool v8::StackFrame::IsEval | ( | ) | const |
bool v8::StackFrame::IsUserJavaScript | ( | ) | const |
bool v8::StackFrame::IsWasm | ( | ) | const |