问题描述
在使用 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
左侧的+
后,显示正在收集数据":
After you click the +
at the left of self
, it shows 'Collecting data':
然后立即崩溃 Python.exe,打印:
And then crash the Python.exe immediately, printing:
C:\Anaconda3\python.exe "C:\Program Files (x86)\JetBrains\PyCharm 4.0.3\helpers\pydev\pydevd.py" --multiproc --client 127.0.0.1 --port 62848 --file D:/My_Program/PyQt/TLC_Python34/TLC_Processor_Py34.py
pydev debugger: process 7536 is connecting
Connected to pydev debugger (build 139.781)
Process finished with exit code -1073741819 (0xC0000005)
我在谷歌上找到了几个类似的报告,但我找不到任何解决方案.
I found several similar reports on google but I can't find any solution.
推荐答案
我在文件 > 设置 > 构建、执行、部署 > Python 调试器中发现 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 在使用 Debug 时使任何 PyQt 程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!