struct Protocol::Debugger::Scope

Overview

Scope description.

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 end_location : Location | Nil #

Location in the source code where scope ends


[View source]
def name : String | Nil #

[View source]
def object : Runtime::RemoteObject #

Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties.


[View source]
def start_location : Location | Nil #

Location in the source code where scope starts


[View source]
def type : String #

Scope type.


[View source]