Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Setting variable values #16

Closed
int19h opened this issue Jan 24, 2018 · 1 comment
Closed

Setting variable values #16

int19h opened this issue Jan 24, 2018 · 1 comment
Assignees

Comments

@int19h
Copy link
Contributor

int19h commented Jan 24, 2018

This is about editing variable values in the Locals window and equivalents (but not in Watch; i.e. not arbitrary expressions - that one is #15 ).

Need to implement setVariable request.

@int19h int19h self-assigned this Jan 24, 2018
@karthiknadig
Copy link
Member

Note: VS sends an evaluate request even if it is editing variables in locals window:

 1> [DebugAdapter] --> C (evaluate-17): {"command":"evaluate","arguments":{"expression":"x","frameId":7,"timeout":5000},"seq":17,"type":"request"}
 1> [DebugAdapter] <--   R (evaluate-17): {"type": "response", "seq": 23, "request_seq": 17, "success": false, "command": "evaluate", "message": "Unknown command", "body": {}}
 1> [DebugAdapter] --> C (setVariable-18): {"command":"setVariable","arguments":{"variablesReference":8,"name":"x","value":"int: 2","timeout":10000},"seq":18,"type":"request"}

@int19h int19h closed this as completed in 359f7f8 Jan 24, 2018
int19h added a commit that referenced this issue Jan 24, 2018
Resolve #16: Setting variable values
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants