On MacOS, when the compilation crashes, Clang's backtrace goes to the system logger that can be checked with the Console Application. But when you are developing outside of Xcode (using QtCreator or just vim and the terminal for example), it's not very practical to check the system logs for debugging.
As an example, here is:
- what is displayed to the terminal
- and what is displayed to the system logger (the full backtrace):
Anyone knows a way to print the backtrace to the terminal (similar to Linux behavior) ?