Skip to content

Variables window does not allow unfolding first element of any python data structure #721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
weinand opened this issue Feb 7, 2018 · 2 comments
Assignees
Labels
area-debugging bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster

Comments

@weinand
Copy link

weinand commented Feb 7, 2018

From @csakumar on February 7, 2018 5:4

  • VSCode Version: 1.19.3 Shell 1.7.9 x64 Arch
  • OS Version: Windows 7 Professional
    Extensions used : Python 2018.1.0 from Microsoft

Steps to Reproduce:

  1. Create any python data object with multiple elements.
  2. While in debug mode, try unfolding the first element of the data object. While the icon changes to unfolded mode, the data element does not populate
  3. Try unfolding the successive data element and it works as expected.
    Does this issue occur when all extensions are disabled?: Yes

In the Attachment, please note the unfolded mode for 0th and 1st row of playerData object. Although 0th row icon indicates that it is unfolded, there is no populated data.
image

Copied from original issue: microsoft/vscode#43074

@ericsnowcurrently
Copy link

Hi @csakumar, thanks for letting us know about this problem. I was unable to reproduce the failure so let's see if we can figure out what I'm doing wrong. :) I'm followed your steps with the following code:

from collections import OrderedDict as OD
data = [
    OD(x=1, y=2, z=3),
    OD(a=1, b=2, c=3),
]
print('done')  # breakpoint here

I'm using version 2018.1.0 (soon to be released) of the Python extension, with Python 3.6 on linux. Could you give my code a try and see if you run into the same problem? Also, what version of Python are you using?

@ericsnowcurrently ericsnowcurrently added info-needed Issue requires more information from poster and removed needs verification labels Feb 22, 2018
@brettcannon
Copy link
Member

Because it has been more than a month since we requested more info, I'm closing this issue. If you are able to provide the info later then please do so and we can re-open the issue.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-debugging bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants