Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Debugger.PausedEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.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"
| "CSPViolation"
| "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.