Python debugger does not shows variables
Answered
No variables and values, after stop on a breakpoint
First it shows "Collecting data..." for long timenext it shows the message "Unable to display frame variables"
Please sign in to leave a comment.
Is it reproducible with any code?
What PyCharm version do you use?
IntelliJ IDEA 2022.1.3 (Ultimate Edition)
> Is it reproducible with any code?
No, it occurs in a specific project. It uses torch and ProcessPoolExecutor. Variables available in the debugger before first using of an nn.Module
If the problem reproduces in a new project but with the same files, then it must be something code-specific in which case it would be great to have a reproducible example.
> If the problem reproduces in a new project but with the same files
yes, also it occurs on another computer
https://www.sendspace.com/file/uv77wr
I'm having trouble loading datasets using your code. Any chance you could share yours?
Any sound files could be used
I'm not sure is there need to share full dataset https://www.sendspace.com/file/blkzpt
Full dataset https://www.kaggle.com/datasets/carlthome/gtzan-genre-collection/download
It looks like it gets stuck after a few iterations on line 30 of feature.py in my case for some reason.
Could you add PYCHARM_DEBUG=True environment variable to your run configuration, reproduce the problem and provide the whole Console output?
https://www.sendspace.com/file/s7w7nn
I filed an issue and asked the developer to take a look https://youtrack.jetbrains.com/issue/PY-54967/Python-debugger-Unable-to-display-variables, please follow it for further progress.