Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Debugger.PausedEvent
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { PausedEvent } = default.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.