struct Protocol::Debugger::CallFrame

Overview

JavaScript call frame. Array of call frames form the call stack.

Included Modules

Defined in:

protocol/debugger.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def call_frame_id : CallFrameId #

Call frame identifier. This identifier is only valid while the virtual machine is paused.


[View source]
def can_be_restarted : Bool | Nil #

Valid only while the VM is paused and indicates whether this frame can be restarted or not. Note that a true value here does not guarantee that Debugger#restartFrame with this CallFrameId will be successful, but it is very likely.


[View source]
def function_location : Location | Nil #

Location in the source code.


[View source]
def function_name : String #

Name of the JavaScript function called on this call frame.


[View source]
def location : Location #

Location in the source code.


[View source]
def return_value : Runtime::RemoteObject | Nil #

The value being returned, if the function is at return point.


[View source]
def scope_chain : Array(Scope) #

Scope chain for this call frame.


[View source]

#this object for this call frame.


[View source]
def url : String #

JavaScript script name or url. Deprecated in favor of using the location.scriptId to resolve the URL via a previously sent Debugger.scriptParsed event.


[View source]