Please provide ways of debugging internal errors in PyQt
Unsolved
Qt Contribution
-
Getting segfaults/errors in the Qt library when working with PyQt is unfortunately pretty common since a lot of errors in the underlying C++ code aren't caught. Its very hard to debug these errors since there is no console output, the program just exits with code 0xC0000005.
Using the faulthandler module helps a little since it can at least provide a stacktrace but its still difficult to figure out what the issue is. There should be a better way of debugging this.
-
@IDontKnowHowToCode
PyQt is produced by Riverbank Computing. If you would like to see them implement something in PyQt which would help you debug you can ask them. Or this might be a general issue in Python code which calls C libraries.