Use DAP's new "StackFrame.canRestart" property to enable the "Restart Frame" command #116345
Labels
debug
Debug viewlet, configurations, breakpoints, adapter issues
feature-request
Request for new features or functionality
insiders-released
Patch has been released in VS Code Insiders
on-release-notes
Issue/pull request mentioned in release notes
verification-needed
Verification of issue is requested
verified
Verification succeeded
Milestone
With microsoft/debug-adapter-protocol#147 a new optional property on the StackFrame has become available that indicates whether the "restart" request is available on a stack frame.
This feature request asks for using "StackFrame.canRestart" in VS Code.
I suggest this strategy:
supportsRestartRequest
capability is true, the "Restart Frame" becomes available in the CALL STACK view's context menuStackFrame
has acanRestart
property with value true or if the property is missing.With this approach we make good use of the semantically overlapping properties
supportsRestartRequest
andcanRestart
by achieving UI stability./cc @connor4312 is this ok with you?
The text was updated successfully, but these errors were encountered: