Class SetScriptSourceCommandResponse
Response for Edits JavaScript source live.
In general, functions that are currently on the stack can not be edited with
a single exception: If the edited function is the top-most stack frame and
that is the only activation of that function on the stack. In this case
the live edit will be successful and a Debugger.restartFrame for the
top-most function is automatically triggered.
public sealed class SetScriptSourceCommandResponse : ICommandResponse<SetScriptSourceCommandSettings>, ICommandResponse
- Inheritance
-
SetScriptSourceCommandResponse
- 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 in case editing has happened while VM was stopped.
[JsonPropertyName("callFrames")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public CallFrame[]? CallFrames { get; set; }
Property Value
ExceptionDetails
Exception details if any. Only present when status is CompileError.
[JsonPropertyName("exceptionDetails")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ExceptionDetails? ExceptionDetails { get; set; }
Property Value
StackChanged
Whether current call stack was modified after applying the changes.
[JsonPropertyName("stackChanged")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? StackChanged { get; set; }
Property Value
- bool?
Status
Whether the operation was successful or not. Only Ok denotes a
successful live edit while the other enum variants denote why
the live edit failed.
[JsonPropertyName("status")]
public string Status { get; set; }