(DAP) VSCode never requests variables from debug adapter #1343
-
I'm currently working on creating a debugger in VSCode using the Debug Adapter Protocol . After requesting the StackTrace and Scopes, VSCode just never makes any Variables requests despite several Scopes having variableReference >0 (which to my understanding should trigger a variables request). Is there something I missed in the DAP where the variables request is contingent on some other property? Really not sure what to do or how to diagnose what's going on. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Some scopes are expensive and are not auto expanded. Make sure to double check that - it should be a property on the Scopes object. Also when you debug and use, when you expand the scopes manually - does VS Code then send a request? Make sure to also read these docs https://code.visualstudio.com/api/extension-guides/debugger-extension |
Beta Was this translation helpful? Give feedback.
I think the best next step is to file an issue here https://github.com/microsoft/vscode/issues
With reproducable steps. Ideally you can share your Repository on GH so someone on the team can reproduce the problem you are seeing.