Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Debugger.PausedEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { PausedEvent } = Protocol.Debugger;

Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.

Properties

callFrames: CallFrame[]

Call stack the virtual machine stopped on.

reason:
| "ambiguous"
| "assert"
| "debugCommand"
| "DOM"
| "EventListener"
| "exception"
| "instrumentation"
| "OOM"
| "other"
| "promiseRejection"
| "XHR"

Pause reason. (PausedEventReason enum)

optional
data: any

Object containing break-specific auxiliary properties.

optional
hitBreakpoints: string[]

Hit breakpoints IDs

optional
asyncStackTrace: Runtime.StackTrace

Async stack trace, if any.

optional
asyncStackTraceId: Runtime.StackTraceId

Async stack trace, if any.

optional
asyncCallStackTraceId: Runtime.StackTraceId

Never present, will be removed.