-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugclarificationProtocol clarificationProtocol clarification
Milestone
Description
I'm using VSCode 1.62.3.
On the https://microsoft.github.io/debug-adapter-protocol/specification#Requests_Evaluate it only lists 4 contexts:
context?: 'watch' | 'repl' | 'hover' | 'clipboard' | string
but I got variables context when copying a value from a variable pane, without supportsClipboardContext.
(copy from the variable o)
Received request:
[VSCode->DA] {"command":"evaluate","arguments":{"expression":"#<Object:0x00007f039108c910>","frameId":1,"context":"variables"},"type":"request","seq":15}
- Question1: Is it intentional not to list the
variablecontext? - Question2: Why not passes variable name in
expressionif 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).
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugclarificationProtocol clarificationProtocol clarification
