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 程序崩溃
基础教程推荐
- 使用PyInstaller后在Windows中打开可执行文件时出错 2022-01-01
- 用于分类数据的跳跃记号标签 2022-01-01
- 何时使用 os.name、sys.platform 或 platform.system? 2022-01-01
- Python kivy 入口点 inflateRest2 无法定位 libpng16-16.dll 2022-01-01
- Dask.array.套用_沿_轴:由于额外的元素([1]),使用dask.array的每一行作为另一个函数的输入失败 2022-01-01
- 筛选NumPy数组 2022-01-01
- 如何在海运重新绘制中自定义标题和y标签 2022-01-01
- 在 Python 中,如果我在一个“with"中返回.块,文件还会关闭吗? 2022-01-01
- 线程时出现 msgbox 错误,GUI 块 2022-01-01
- 如何让 python 脚本监听来自另一个脚本的输入 2022-01-01