method ReplSession.backtrace
ReplSession.backtrace(): Frame[]

The call stack where the page is stopped, innermost first — empty when nothing is.

gdb's backtrace, and the same numbering: frame 0 is where it stopped, and each one after it is who called the one before.

Return Type

Usage

import { type ReplSession } from "lib/repl/session.ts";