Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Catching an exeption for debugging a Qt application
ale82 last edited by
Anyone know if it is possible to catch an exeption and print it?
I mean, my application sometimes crashes depending on which platform it is running, I'd like find out where is the weak point in my code.
I can't use debugger or IDE like QtCreator, I've already tested in my environmet and I have no problem, I just want install my software in another PC and print in a file the exeption.
Qt does not throw any exceptions anywhere in it's code. If you want to catch the output, run the application from command line and see what it prints out. Or get the stack trace.