Class CallFrame
JavaScript call frame. Array of call frames form the call stack.
public sealed record CallFrame : IEquatable<CallFrame>
- Inheritance
-
CallFrame
- Implements
- Inherited Members
Constructors
CallFrame(CallFrameId, string, Location, string, ImmutableArray<Scope>, RemoteObject)
JavaScript call frame. Array of call frames form the call stack.
public CallFrame(CallFrameId CallFrameId, string FunctionName, Location Location, string Url, ImmutableArray<Scope> ScopeChain, RemoteObject This)
Parameters
CallFrameIdCallFrameIdCall frame identifier. This identifier is only valid while the virtual machine is paused.
FunctionNamestringName of the JavaScript function called on this call frame.
LocationLocationLocation in the source code.
UrlstringJavaScript script name or url. Deprecated in favor of using the location.scriptId to resolve the URL via a previously sent Debugger.scriptParsed event.
ScopeChainImmutableArray<Scope>Scope chain for this call frame.
ThisRemoteObjectthis object for this call frame.
Properties
CallFrameId
Call frame identifier. This identifier is only valid while the virtual machine is paused.
public CallFrameId CallFrameId { get; init; }
Property Value
CanBeRestarted
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.
public bool? CanBeRestarted { get; init; }
Property Value
- bool?
FunctionLocation
Location in the source code.
public Location? FunctionLocation { get; init; }
Property Value
FunctionName
Name of the JavaScript function called on this call frame.
public string FunctionName { get; init; }
Property Value
Location
Location in the source code.
public Location Location { get; init; }
Property Value
ReturnValue
The value being returned, if the function is at return point.
public RemoteObject? ReturnValue { get; init; }
Property Value
ScopeChain
Scope chain for this call frame.
public ImmutableArray<Scope> ScopeChain { get; init; }
Property Value
This
this object for this call frame.
public RemoteObject This { get; init; }
Property Value
Url
JavaScript script name or url. Deprecated in favor of using the location.scriptId to resolve the URL via a previously sent Debugger.scriptParsed event.
public string Url { get; init; }