Package io.webfolder.cdp.type.debugger
Class CallFrame
java.lang.Object
io.webfolder.cdp.type.debugger.CallFrame
JavaScript call frame. Array of call frames form the call stack.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCall frame identifier.Location in the source code.Name of the JavaScript function called on this call frame.Location in the source code.The value being returned, if the function is at return point.Scope chain for this call frame.getThat()
this object for this call frame.getUrl()
Deprecated.Valid only while the VM is paused and indicates whether this frame can be restarted or not.void
setCallFrameId
(String callFrameId) Call frame identifier.void
setCanBeRestarted
(Boolean canBeRestarted) Valid only while the VM is paused and indicates whether this frame can be restarted or not.void
setFunctionLocation
(Location functionLocation) Location in the source code.void
setFunctionName
(String functionName) Name of the JavaScript function called on this call frame.void
setLocation
(Location location) Location in the source code.void
setReturnValue
(RemoteObject returnValue) The value being returned, if the function is at return point.void
setScopeChain
(List<Scope> scopeChain) Scope chain for this call frame.void
setThat
(RemoteObject that) this object for this call frame.void
Deprecated.toString()
-
Constructor Details
-
CallFrame
public CallFrame()
-
-
Method Details
-
getCallFrameId
Call frame identifier. This identifier is only valid while the virtual machine is paused. -
setCallFrameId
Call frame identifier. This identifier is only valid while the virtual machine is paused. -
getFunctionName
Name of the JavaScript function called on this call frame. -
setFunctionName
Name of the JavaScript function called on this call frame. -
getFunctionLocation
Location in the source code. -
setFunctionLocation
Location in the source code. -
getLocation
Location in the source code. -
setLocation
Location in the source code. -
getUrl
Deprecated.JavaScript script name or url. Deprecated in favor of using the location.scriptId to resolve the URL via a previously sent Debugger.scriptParsed event. -
setUrl
Deprecated.JavaScript script name or url. Deprecated in favor of using the location.scriptId to resolve the URL via a previously sent Debugger.scriptParsed event. -
getScopeChain
Scope chain for this call frame. -
setScopeChain
Scope chain for this call frame. -
getThat
this object for this call frame. -
setThat
this object for this call frame. -
getReturnValue
The value being returned, if the function is at return point. -
setReturnValue
The value being returned, if the function is at return point. -
isCanBeRestarted
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. -
setCanBeRestarted
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. -
toString
-