Functions

f
excerpt(
source: string,
line: number,
palette: Theme,
limits?: Limits
): string

The source around a breakpoint, numbered, with a mark on the line the page stopped on.

f
limits(): Limits

How much to show, with anything the developer has said on top.

Interfaces

I
Limits

How much source to show around a breakpoint.

  • after: number

    Lines after it, at most. It stops sooner at a return.

  • before: number

    Lines before it, at most. It stops sooner at the start of the enclosing block.

Variables

v
LINES: Limits

The default window: enough of the way up to see what function you are in, and enough of the way down to see what it is about to answer.