Skip to content
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

Python Debugger not showing numpy array values after update #1418

Closed
jav-ed opened this issue Nov 6, 2023 · 4 comments
Closed

Python Debugger not showing numpy array values after update #1418

jav-ed opened this issue Nov 6, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@jav-ed
Copy link

jav-ed commented Nov 6, 2023

The issue was already created by someone else in the vscode repo. There we were told to raise the issue in here. Thus, I am just copying and pasting the issue from: microsoft/vscode#196159

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.83.1
  • OS Version: Windows 11 22H2 build 22621.2428

Steps to Reproduce:

  1. Create a simple Python script that generates a numpy array, such as:
    import numpy as np test = np.zeros((3, 3))
  2. Set a breakpoint below the above code and run debug.
  3. Expand the 'test' variable in the locals section of the 'Debug and Run' window.
  4. Observe that below 'function variables' now no longer shows each row of the first axis of the array as it did in older versions.

VSCode_1_83_1

  1. If the new 'T' item that's below 'function variables' is expanded, this just loops the information from the root level.

VSCode_1_83_1_expand_loop

For reference, this is what it looked like with version 1.80.2:

VSCode_1_80_2

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python-debugger Nov 6, 2023
@jav-ed
Copy link
Author

jav-ed commented Nov 17, 2023

Any update?

@graphic-goose
Copy link

graphic-goose commented Nov 23, 2023

@int19h Is there any update on this? There's been several updates to VSCode since I originally reported the issue, apparently in the wrong section, and using the debugger for Numpy arrays is still unusable.

@Vladimir-Kryzhniy
Copy link

hello! I'm having the same issue.

My set-up:
VsCode Version: 1.84.2 (Universal)
MacOS: Monterey 12.6.7

Please fix this issue. Otherwise it's really hard to have an effective debugging session while working with big arrays.

@int19h int19h added the bug Something isn't working label Dec 4, 2023
@int19h
Copy link
Contributor

int19h commented Dec 4, 2023

Dupe of #1408

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants