Pycharm crash no stack trace just error exit code

Hey

 

I'm on latest RC version of Puycharm & tried 2019 and other ones. When ever I crash all I get is > Process finished with exit code -1073741819 (0xC0000005)

 

How can I enable debuging in pycharm so that I get stack trace after my python app crash?

 

Edit I tested the project in vscode, seems to not crash when executing the same code... strange o.o

TIA

0

Hello, 

I am wondering if this behavior is specific for a code? Or it fails eve with a simple one? 

As an isolation test, could you please run the script out of PyCharm with the same interpreter as used when the execution fails?

 

For more information on how to run your code from the terminal outside of IDE, please see the following article:
https://docs.python.org/3/using/cmdline.html#command-line

If you're using virtualenv interpreter in PyCharm, you may need to activate it in the command line prior to running your code:
https://virtualenv.pypa.io/en/latest/user_guide.html#activators

 

Also, it worth trying to re-create a venv.

 

 

0

请先登录再写评论。