pl.wendigo.chrome.api.debugger / SetBreakpointByUrlRequest

SetBreakpointByUrlRequest

data class SetBreakpointByUrlRequest (source)

Represents request frame that can be used with 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>

SetBreakpointByUrlRequest(lineNumber: Int, url: String? = null, urlRegex: String? = null, scriptHash: String? = null, columnNumber: Int? = null, condition: String? = null)

Represents request frame that can be used with Debugger#setBreakpointByUrl operation call.

Properties

columnNumber

val columnNumber: Int?

Offset in the line to set breakpoint at.

condition

val condition: String?

Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.

lineNumber

val lineNumber: Int

Line number to set breakpoint at.

scriptHash

val scriptHash: String?

Script hash of the resources to set breakpoint on.

url

val url: String?

URL of the resources to set breakpoint on.

urlRegex

val urlRegex: String?

Regex pattern for the URLs of the resources to set breakpoints on. Either url or urlRegex must be specified.