CallFrame

@Serializable
data class CallFrame(val callFrameId: String, val functionName: String, val functionLocation: Debugger.Location? = null, val location: Debugger.Location, val url: String, val scopeChain: List<Debugger.Scope>, val this: Runtime.RemoteObject, val returnValue: Runtime.RemoteObject? = null, val canBeRestarted: Boolean? = null)

JavaScript call frame. Array of call frames form the call stack.

Constructors

Link copied to clipboard
constructor(callFrameId: String, functionName: String, functionLocation: Debugger.Location? = null, location: Debugger.Location, url: String, scopeChain: List<Debugger.Scope>, this: Runtime.RemoteObject, returnValue: Runtime.RemoteObject? = null, canBeRestarted: Boolean? = null)

Properties

Link copied to clipboard

Call frame identifier. This identifier is only valid while the virtual machine is paused.

Link copied to clipboard
val canBeRestarted: Boolean? = null

Valid only while the VM is paused and indicates whether this frame can be restarted or not. Note that a true value here does not guarantee that Debugger#restartFrame with this CallFrameId will be successful, but it is very likely.

Link copied to clipboard

Location in the source code.

Link copied to clipboard

Name of the JavaScript function called on this call frame.

Link copied to clipboard

Location in the source code.

Link copied to clipboard

The value being returned, if the function is at return point.

Link copied to clipboard

Scope chain for this call frame.

Link copied to clipboard

this object for this call frame.

Link copied to clipboard
val url: String

JavaScript script name or url. Deprecated in favor of using the location.scriptId to resolve the URL via a previously sent Debugger.scriptParsed event.