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:
C:Anaconda3python.exe "C:Program Files (x86)JetBrainsPyCharm 4.0.3helperspydevpydevd.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)
我在 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 程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Pycharm 4.0.3 在使用调试时使任何 PyQt 程序崩溃
基础教程推荐
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- 将 x 轴刻度更改为自定义字符串 2022-01-01
- 尝试制作WhatsApp机器人 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
- 用 Python 编写 Fortran 无格式文件 2022-01-01
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
