EventBreakpoints

EventBreakpoints permits setting JavaScript breakpoints on operations and events occurring in native code invoked from JavaScript. Once breakpoint is hit, it is reported through Debugger domain, similarly to regular breakpoints being hit.

Constructors

Link copied to clipboard
constructor(cdp: CDP)

Types

Link copied to clipboard
@Serializable
data class RemoveInstrumentationBreakpointParameter(val eventName: String)
Link copied to clipboard
@Serializable
data class SetInstrumentationBreakpointParameter(val eventName: String)

Functions

Link copied to clipboard
suspend fun disable(mode: CommandMode = CommandMode.DEFAULT)

Removes all breakpoints

Link copied to clipboard
suspend fun removeInstrumentationBreakpoint(eventName: String)

Removes breakpoint on particular native event.

Link copied to clipboard
suspend fun setInstrumentationBreakpoint(eventName: String)

Sets breakpoint on particular native event.