v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::DebugStackTraceIterator Class Referencefinal

#include <debug-stack-trace-iterator.h>

Inheritance diagram for v8::internal::DebugStackTraceIterator:
Collaboration diagram for v8::internal::DebugStackTraceIterator:

Public Member Functions

 DebugStackTraceIterator (Isolate *isolate, int index)
 
 ~DebugStackTraceIterator () override
 
bool Done () const override
 
void Advance () override
 
int GetContextId () const override
 
v8::MaybeLocal< v8::ValueGetReceiver () const override
 
v8::Local< v8::ValueGetReturnValue () const override
 
v8::Local< v8::StringGetFunctionDebugName () const override
 
v8::Local< v8::debug::ScriptGetScript () const override
 
debug::Location GetSourceLocation () const override
 
debug::Location GetFunctionLocation () const override
 
v8::Local< v8::FunctionGetFunction () const override
 
std::unique_ptr< v8::debug::ScopeIteratorGetScopeIterator () const override
 
bool CanBeRestarted () const override
 
v8::MaybeLocal< v8::ValueEvaluate (v8::Local< v8::String > source, bool throw_on_side_effect) override
 
void PrepareRestart ()
 
Handle< SharedFunctionInfoGetSharedFunctionInfo () const
 
- Public Member Functions inherited from v8::debug::StackTraceIterator
 StackTraceIterator ()=default
 
virtual ~StackTraceIterator ()=default
 
 StackTraceIterator (const StackTraceIterator &)=delete
 
StackTraceIteratoroperator= (const StackTraceIterator &)=delete
 

Private Member Functions

void UpdateInlineFrameIndexAndResumableFnOnStack ()
 

Private Attributes

Isolateisolate_
 
DebuggableStackFrameIterator iterator_
 
std::unique_ptr< FrameInspectorframe_inspector_
 
int inlined_frame_index_
 
bool is_top_frame_
 
bool resumable_fn_on_stack_
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::debug::StackTraceIterator
static std::unique_ptr< StackTraceIteratorCreate (Isolate *isolate, int index=0)
 

Detailed Description

Definition at line 17 of file debug-stack-trace-iterator.h.

Constructor & Destructor Documentation

◆ DebugStackTraceIterator()

v8::internal::DebugStackTraceIterator::DebugStackTraceIterator ( Isolate * isolate,
int index )

Definition at line 31 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:

◆ ~DebugStackTraceIterator()

v8::internal::DebugStackTraceIterator::~DebugStackTraceIterator ( )
overridedefault

Member Function Documentation

◆ Advance()

void v8::internal::DebugStackTraceIterator::Advance ( )
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 46 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CanBeRestarted()

bool v8::internal::DebugStackTraceIterator::CanBeRestarted ( ) const
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 214 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Done()

bool v8::internal::DebugStackTraceIterator::Done ( ) const
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 44 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Evaluate()

v8::MaybeLocal< v8::Value > v8::internal::DebugStackTraceIterator::Evaluate ( v8::Local< v8::String > source,
bool throw_on_side_effect )
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 258 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:

◆ GetContextId()

int v8::internal::DebugStackTraceIterator::GetContextId ( ) const
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 70 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:

◆ GetFunction()

v8::Local< v8::Function > v8::internal::DebugStackTraceIterator::GetFunction ( ) const
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 181 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetFunctionDebugName()

v8::Local< v8::String > v8::internal::DebugStackTraceIterator::GetFunctionDebugName ( ) const
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 134 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:

◆ GetFunctionLocation()

debug::Location v8::internal::DebugStackTraceIterator::GetFunctionLocation ( ) const
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 153 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:

◆ GetReceiver()

v8::MaybeLocal< v8::Value > v8::internal::DebugStackTraceIterator::GetReceiver ( ) const
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 81 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:

◆ GetReturnValue()

v8::Local< v8::Value > v8::internal::DebugStackTraceIterator::GetReturnValue ( ) const
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 118 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:

◆ GetScopeIterator()

std::unique_ptr< v8::debug::ScopeIterator > v8::internal::DebugStackTraceIterator::GetScopeIterator ( ) const
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 195 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:

◆ GetScript()

v8::Local< v8::debug::Script > v8::internal::DebugStackTraceIterator::GetScript ( ) const
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 139 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSharedFunctionInfo()

Handle< SharedFunctionInfo > v8::internal::DebugStackTraceIterator::GetSharedFunctionInfo ( ) const

Definition at line 187 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:

◆ GetSourceLocation()

debug::Location v8::internal::DebugStackTraceIterator::GetSourceLocation ( ) const
overridevirtual

Implements v8::debug::StackTraceIterator.

Definition at line 146 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:

◆ PrepareRestart()

void v8::internal::DebugStackTraceIterator::PrepareRestart ( )

Definition at line 273 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:

◆ UpdateInlineFrameIndexAndResumableFnOnStack()

void v8::internal::DebugStackTraceIterator::UpdateInlineFrameIndexAndResumableFnOnStack ( )
private

Definition at line 237 of file debug-stack-trace-iterator.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ frame_inspector_

std::unique_ptr<FrameInspector> v8::internal::DebugStackTraceIterator::frame_inspector_
private

Definition at line 47 of file debug-stack-trace-iterator.h.

◆ inlined_frame_index_

int v8::internal::DebugStackTraceIterator::inlined_frame_index_
private

Definition at line 48 of file debug-stack-trace-iterator.h.

◆ is_top_frame_

bool v8::internal::DebugStackTraceIterator::is_top_frame_
private

Definition at line 49 of file debug-stack-trace-iterator.h.

◆ isolate_

Isolate* v8::internal::DebugStackTraceIterator::isolate_
private

Definition at line 45 of file debug-stack-trace-iterator.h.

◆ iterator_

DebuggableStackFrameIterator v8::internal::DebugStackTraceIterator::iterator_
private

Definition at line 46 of file debug-stack-trace-iterator.h.

◆ resumable_fn_on_stack_

bool v8::internal::DebugStackTraceIterator::resumable_fn_on_stack_
private

Definition at line 50 of file debug-stack-trace-iterator.h.


The documentation for this class was generated from the following files: