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 #196159

Closed
graphic-goose opened this issue Oct 21, 2023 · 3 comments
Closed

Python Debugger not showing numpy array values after update #196159

graphic-goose opened this issue Oct 21, 2023 · 3 comments
Assignees

Comments

@graphic-goose
Copy link

graphic-goose commented Oct 21, 2023

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

@jaortizco
Copy link

I'm having the same issue using WSL2 (Ubuntu) on Windows 11.

VS Code Version: 1.83.1
Python extension version: v2023.18.0

@jav-ed
Copy link

jav-ed commented Oct 28, 2023

I am having the same issue using linux manjaro with VSCode information see below and Python 3.11.3

Version: 1.83.1
Commit: f1b07bd
Date: 2023-10-10T23:45:31.402Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Linux x64 5.15.128-1-MANJARO

@roblourens
Copy link
Member

Please file this on the debugpy repo, thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants