Types

Backtrace

Represents stack trace

Attributes

frames

Array of locations. Each element of the array is a Hash with "ip" and "closure" properties.

Example

Backtrace().frames.each(echo)
# {ip=4770, closure=<Closure <anonymous> at /etc/ngs/bootstrap.ngs:3>}
# {ip=4153, closure=<Closure bootstrap_exception_catch_wrapper at /etc/ngs/bootstrap.ngs:205>}
# {ip=3583, closure=<Closure bootstrap at /etc/ngs/bootstrap.ngs:111>}
# {ip=116587, closure=<Closure <anonymous> at <command line -pi switch>:2>}

Constructors

Backtrace()
Backtrace constructor