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"

10 comments
Comment actions Permalink

Is it reproducible with any code?
What PyCharm version do you use?

0
Comment actions Permalink

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

 

 

0
Comment actions Permalink

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.

0
Comment actions Permalink

> 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

0
Comment actions Permalink

I'm having trouble loading datasets using your code. Any chance you could share yours?

0
Comment actions Permalink

Any sound files could be used

I'm not sure is there need to share full dataset https://www.sendspace.com/file/blkzpt

0
Comment actions Permalink

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?

0
Comment actions Permalink

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.

0

Please sign in to leave a comment.