Pycharm 4.0.3 crash any PyQt program while using Debug(Pycharm 4.0.3 在使用调试时使任何 PyQt 程序崩溃)
问题描述
使用 Pycharm 4.0.3 调试任何 PyQt5
程序时,会导致 Python.exe 进程崩溃.
While debug any PyQt5
program using Pycharm 4.0.3, it crashes the Python.exe process.
最初,它显示 self
变量就好了.
Initially, it shows the self
variable just fine.
点击self
左边的+
后,会显示'Collecting data':
After you click the +
at the left of self
, it shows 'Collecting data':
然后立即使 Python.exe 崩溃,打印:
And then crash the Python.exe immediately, printing:
我在 google 上找到了几个类似的报告,但我找不到任何解决方案.
I found several similar reports on google but I can't find any solution.
推荐答案
我在 File > Settings > Build, Execution, Deployment > Python Debugger 中发现 PyQt 框被选中.取消选中它可以解决问题.要解决每个程序的问题,请在文件 > 默认设置 > (...) 中执行相同操作.
I found in File > Settings > Build, Execution, Deployment > Python Debugger that PyQt box was checked. Unchecking it solves the problem. To solve the problem for every program, do the same in File > Default settings > (...).
这篇关于Pycharm 4.0.3 在使用调试时使任何 PyQt 程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!