-
-
Notifications
You must be signed in to change notification settings - Fork 43
Display classes in variables #95
Comments
Is this issue related to bad sending request or with backend? |
The backend is really stupid regarding these requests, it forwards the request to the debugger and sends back the reply to the frontend (it is mainly an adapter between DAP protocol and Jupyter protocol ), so I think additional requests should be sent (or the request should be filled with additional parameters) to get all variables. A mean to get the right parameters is to test with VSCode and ptvsd logs enabled. This way we can inspect all the debug requests received and the reponses and events emitted by PTVSD. |
Looking at the logs in VS Code, additional |
We can add that to #64 |
Maybe it would make sense to do this extra request lazily? i.e. only do it if the user clicks on the variable they want to see |
Yes this is what is happening in VS Code (when expanding the object) |
For reference: I will add that to #64 |
was resolve with #125 |
For now classes (and potentially other nested data types) don't have their attributes displayed:
We'll probably need a few extra calls to
variables
and send the rightvariablesReference
.As a reference in VS Code:
The text was updated successfully, but these errors were encountered: