-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluate
requests contains not listed context "variables"
#233
Comments
@ko1 thanks for the request. Answer1: not including the The I propose to add the /**
* The context in which the evaluate request is run.
* Values:
* 'variables': evaluate is run in a variables view.
* 'watch': evaluate is run in a watch.
* 'repl': evaluate is run from REPL console.
* 'hover': evaluate is run from a data hover.
* 'clipboard': evaluate is run to generate the value that will be stored in
* the clipboard. The attribute is only honored by a debug adapter if the capability
* 'supportsClipboardContext' is true.
* etc.
*/
context?: 'variables' | 'watch' | 'repl' | 'hover' | 'clipboard' | string; Answer2: |
Except, now this is not backward compatible... adding a value without adding a capability (the exact reason the new 'clipboard' value was protected by a capability!). Wouldn't it be better if clients currently sending this value just ... stop sending it as there's no legitimate reason for servers to be interpreting that undocumented out of protocol value? |
Since Adding |
The final description for the
|
I'm using VSCode 1.62.3.
On the https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Evaluate it only lists 4 contexts:
but I got
variables
context when copying a value from a variable pane, withoutsupportsClipboardContext
.(copy from the variable
o
)Received request:
variable
context?expression
if it means to get the result of "variable"? On Ruby language, sometimes the representation of the value becomes"#<Object:...>
like above and it is not evaluate-able expression (and this is why I stop to supportsupportsClipboardContext
).The text was updated successfully, but these errors were encountered: