You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A simple way to do this would be a canRestart on the StackFrame. This has some overlap/redundancy with supportsRestartRequest. Proposal:
exportinterfaceStackFrame{/** * Whether a restart request can be sent for the stackframe. This is only * relevant when the capability 'supportsRestartFrame' is present, with which * frames are restartable by default unless this property is set to 'false'. */canRestart?: boolean;
The text was updated successfully, but these errors were encountered:
This request makes sense and I've added it to the StackFrame type:
interfaceStackFrame{/** * An identifier for the stack frame. It must be unique across all threads. * This id can be used to retrieve the scopes of the frame with the * 'scopesRequest' or to restart the execution of a stackframe. */id: number;/** * The name of the stack frame, typically a method name. */name: string;/** * The optional source of the frame. */source?: Source;/** * The line within the file of the frame. If source is null or doesn't exist, * line is 0 and must be ignored. */line: number;/** * The column within the line. If source is null or doesn't exist, column is 0 * and must be ignored. */column: number;/** * An optional end line of the range covered by the stack frame. */endLine?: number;/** * An optional end column of the range covered by the stack frame. */endColumn?: number;/** * Indicates whether this frame can be restarted with the 'restart' request. * Clients should only use this if the debug adapter supports the 'restart' * request (capability 'supportsRestartRequest' is true). */canRestart?: boolean;/** * Optional memory reference for the current instruction pointer in this * frame. */instructionPointerReference?: string;/** * The module associated with this frame, if any. */moduleId?: number|string;/** * An optional hint for how to present this frame in the UI. * A value of 'label' can be used to indicate that the frame is an artificial * frame that is used as a visual label or separator. A value of 'subtle' can * be used to change the appearance of a frame in a 'subtle' way. * Values: 'normal', 'label', 'subtle', etc. */presentationHint?: 'normal'|'label'|'subtle';}
If there are no objections I will release this DAP addition later today.
Context: microsoft/vscode#89471
A simple way to do this would be a
canRestart
on the StackFrame. This has some overlap/redundancy withsupportsRestartRequest
. Proposal:The text was updated successfully, but these errors were encountered: