hephy-dd / diode-measurement

IV/CV measurements for silicon sensors.
GNU General Public License v3.0
0 stars 2 forks source link

Add exception hook to catch unhandled exceptions #98

Closed arnobaer closed 1 year ago

arnobaer commented 1 year ago

Add a custom exception hook to prevent application crashes from unhanded exceptions, show a message box with the exception stack trace and do not quit the application.

Background: on Windows OS users typically launch applications without using a terminal, so when the application crashes, a stack trace isn't available.