Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
413 views
in Technique[技术] by (71.8m points)

python - Pycharm 4.0.3 crash any PyQt program while using Debug

While debug any PyQt5 program using Pycharm 4.0.3, it crashes the Python.exe process.

Initially, it shows the self variable just fine.

enter image description here

After you click the + at the left of self, it shows 'Collecting data': enter image description here

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)

I found several similar reports on google but I can't find any solution.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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 > (...).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...