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

Debugging: Cannot inspect inside variables of section "Watch" #1273

Closed
DonJayamanne opened this issue Mar 28, 2019 · 2 comments
Closed

Debugging: Cannot inspect inside variables of section "Watch" #1273

DonJayamanne opened this issue Mar 28, 2019 · 2 comments

Comments

@DonJayamanne
Copy link
Contributor

@DavidDuranPerez commented on Thu Mar 28 2019

Environment data

  • VS Code version: 1.32.3
  • Extension version (available under the Extensions sidebar): 2019.3.6139
  • OS and version: Windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): 3.6.2
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv

Expected behaviour

I should be able to inspect inside any variable placed in the "Watch" section.

Actual behaviour

Yesterday, I was able to inspect inside any variable placed in the "Watch" section. However, today, I can only inspect the automatic variables placed under "Locals". See image below:

image

This happens also to a colleague of mine since today. Is it because an update of the extension?


@0000Paula01 commented on Thu Mar 28 2019

I am also getting the same issue

@karthiknadig
Copy link
Member

@fabioz Looks like we are not providing variableReference correctly for evaluations.
what it should return:
{"result": "[1, 2, 3]", "variablesReference": 6, "type": "list", "presentationHint": {}}
actual:
{"result": "[1, 2, 3]", "variablesReference": 0, "type": "list", "presentationHint": {}}

@fabioz
Copy link
Contributor

fabioz commented Mar 28, 2019

I'll take a look at it.

@fabioz fabioz self-assigned this Mar 28, 2019
fabioz added a commit to fabioz/ptvsd that referenced this issue Mar 28, 2019
fabioz added a commit to fabioz/ptvsd that referenced this issue Mar 28, 2019
fabioz added a commit to fabioz/ptvsd that referenced this issue Mar 29, 2019
@karthiknadig karthiknadig added this to the Mar 2019.2 milestone Mar 29, 2019
fabioz added a commit to fabioz/ptvsd that referenced this issue Mar 29, 2019
@fabioz fabioz closed this as completed in a2e7fd1 Apr 1, 2019
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

3 participants