Details
-
Task
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 4.5.0
-
None
-
Embedded Linux
Description
It seems that Qt Creator's GDB plugin has no support to catch signals respectively exceptions and show a sane backtrace afterwards (just the message box containing the signal pops up and then the assembly dump appears). Of course it is also true that Qt by itself does not make use of C++ exceptions, but nevertheless they constitute an important part in other libraries and/or user code.
The stack overflow post on https://stackoverflow.com/questions/10592568/can-gdb-be-used-to-backtrace-when-exceptions-are-caught cites some workarounds, e.g. by using catch throw respectively break cxa throw as an additional attach command (Options dialog, section Debugger, tab GDB).
It would be nice to have this added in an upcoming release.