Browse Source

Install faulthandler in the hope of catching more Qt segfaults

master
Nils 4 years ago
parent
commit
f2ea774ca2
Signed by: lss GPG Key ID: 28C6A306F2909FEE
  1. 6
      engine/start.py

6
engine/start.py

@ -27,6 +27,12 @@ We don't want to use all the libraries, including the big Qt one, only to end up
Same with the tests if jack or nsm are running.
"""
#Give at least some feedback when C libs crash.
#Will still not work for the common case that PyQt crashes and ends Python.
#But every bit helps when hunting bugs.
import faulthandler; faulthandler.enable()
from engine.config import * #includes METADATA only. No other environmental setup is executed.
from qtgui.helper import setPaletteAndFont #our error boxes shall look like the rest of the program

Loading…
Cancel
Save