pl.wendigo.chrome.api.debugger / SetBreakpointByUrlResponse

SetBreakpointByUrlResponse

data class SetBreakpointByUrlResponse (source)

Represents response frame that is returned from Debugger#setBreakpointByUrl operation call. Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads.

Link
Debugger#setBreakpointByUrl method documentation.

See Also

DebuggerOperations.setBreakpointByUrl

Constructors

<init>

SetBreakpointByUrlResponse(breakpointId: BreakpointId, locations: List<Location>)

Represents response frame that is returned from Debugger#setBreakpointByUrl operation call. Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads.

Properties

breakpointId

val breakpointId: BreakpointId

Id of the created breakpoint for further reference.

locations

val locations: List<Location>

List of the locations this breakpoint resolved into upon addition.