Reputation: 1353
I developped a program in PyQt for Windows a few months ago that I turned into an executable with py2exe, and it's suddenly starting to crash for no obvious reason.
By crashing I mean that the program closes without any explanation. I can't reproduce the problem on demand because it never crashes at the same action.
Do someone has an idea of where I could look for an explanation ? How to debug something like this ?
Upvotes: 0
Views: 1082
Reputation: 11644
The best thing to do is run your program in a debugger like gdb and get a stack trace. Sometimes this doesn't lead to an obvious solution, though.
Here's a collection of things to look out for that cause crashes with pyqt: What are good practices for avoiding crashes / hangs in PyQt?
Upvotes: 1