Python debugger does not shows variables

已回答

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"

评论操作 固定链接

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

0
评论操作 固定链接

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
评论操作 固定链接

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
评论操作 固定链接

> 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
评论操作 固定链接

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

0
评论操作 固定链接

Any sound files could be used

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

0
评论操作 固定链接

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
评论操作 固定链接

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

请先登录再写评论。