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
asyncStackTrace: Runtime.StackTraceAsync stack trace, if any.
optional
asyncStackTraceId: Runtime.StackTraceIdAsync stack trace, if any.
optional
asyncCallStackTraceId: Runtime.StackTraceIdNever present, will be removed.