Class RestartFrameCommandResponse
Response for Restarts particular call frame from the beginning. The old, deprecated
behavior of restartFrame is to stay paused and allow further CDP commands
after a restart was scheduled. This can cause problems with restarting, so
we now continue execution immediatly after it has been scheduled until we
reach the beginning of the restarted frame.
To stay back-wards compatible, restartFrame now expects a mode
parameter to be present. If the mode parameter is missing, restartFrame
errors out.
The various return values are deprecated and callFrames is always empty.
Use the call frames from the Debugger#paused events instead, that fires
once V8 pauses at the beginning of the restarted function.
public sealed class RestartFrameCommandResponse : ICommandResponse<RestartFrameCommandSettings>, ICommandResponse
- Inheritance
-
RestartFrameCommandResponse
- Implements
- Inherited Members
- Extension Methods
Properties
AsyncStackTrace
Async stack trace, if any.
[JsonPropertyName("asyncStackTrace")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public StackTrace? AsyncStackTrace { get; set; }
Property Value
AsyncStackTraceId
Async stack trace, if any.
[JsonPropertyName("asyncStackTraceId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public StackTraceId? AsyncStackTraceId { get; set; }
Property Value
CallFrames
New stack trace.
[JsonPropertyName("callFrames")]
public CallFrame[] CallFrames { get; set; }