Cannot view numpy array during debugging
Hi I'm using this PyCharm version:
PyCharm 2023.3.1 (Professional Edition)
Build #PY-233.11799.298, built on December 11, 2023
Runtime version: 17.0.9+7-b1087.7 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.13.0-51-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
com.github.copilot (1.4.4.3955)
Current Desktop: ubuntu:GNOME
When I tried to view a regular 4x4 numpy array during debugging, there's new tab poping out filled with blank content (as shown in the screenshot), instead of a table view of the array.
请先登录再写评论。
Hi, could you please test if the issue is reproduced with the following code?
Also, please upload logs from **Help | Collect Logs and Diagnostic Data** after reproducing the issue, if possible.
You can use uploading service at https://uploads.jetbrains.com/ , and provide upload ID in your reply.
Hi,
Yes the issue is reproducible, neither arr nor df cannot be viewed in the opened tabs, though they can be printed out in the console. Screenshots are attached below. PyCharm logs file is uploaded, Upload id: 2023_12_15_LcM9p9kp3rwd6ut4eYeU2w (file: pycharm-logs-20231215-1644378410950064615841007.zip)
I have the same problem, presenting the same way, but on runtime version 17.0.9+7-b1087.7 aarch64.
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Build #PY-233.11799.298, built on December 11, 2023
OSX 14.2 (23C64)
I've actually had the problem since initially updating to 2023.3
I have submitted a bug report PY-65404, please follow it for updates.
Unfortunately, I haven't been able to reproduce the issue so far with a small dataframe. For large dataframes, we have another known issue PY-65323
I have the same issue on:
Build #PY-233.11799.298, built on December 12, 2023
Runtime version: 17.0.9+7-b1087.7 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
This is a big enough issue that I need to downgrade versions - on the other hand, I am paying for AI assistant.
When will it get fixed? Any estimation? This bug is pretty annoying actually.
Aleksej Milosevic
@Shawn
Could you please use https://uploads.jetbrains.com to upload your logs from **Help | Collect Logs and Diagnostic Data** after reproducing the issue, to help us identify if it's the same issue?
Andrey Resler
Hi I've submitted it, upload id: 2023_12_21_ZKvmPApa8doHGNKQrMvDyJ (file: pycharm-logs-20231221-13132918404401249281554476.zip)
The script is super simple:
Happy new year dear devs, any update so far?
This issue persists even with 2024.1.1. If you want to be able to inspect a numpy array in the data view, it must be computed before the breakpoints. Otherwise, you get a “nothing to show error”
I also can confirm this issue is still present in 2024.1.1 and is still extremely annoying…
I met the same issue. Is it solved now?
Hello,
Please try a workaround from this thread: https://youtrack.jetbrains.com/issue/PY-65143/View-as-dataframe-leads-to-Nothing-to-show-for-specific-pandas-versions