Skip to content

StackFrame.canRestart documentation mismatch? #373

Closed

Description

The explanation of the canRestart field in StackFrame currently says that it should only be used if the capability supportsRestartRequest is true.

 /**
   * Indicates whether this frame can be restarted with the `restart` request.
   * Clients should only use this if the debug adapter supports the `restart`
   * request and the corresponding capability `supportsRestartRequest` is true.
   * If a debug adapter has this capability, then `canRestart` defaults to
   * `true` if the property is absent.
   */
  canRestart?: boolean;

I think this should refer to supportsRestartFrame instead. This is also the way it was phrased in the original feature request #147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions