[cfe-dev] Seeing backtrace when developing on MacOS
Hervé Yviquel via cfe-dev
cfe-dev at lists.llvm.org
Fri Mar 23 13:32:41 PDT 2018
Hi,
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
https://gist.github.com/hyviquel/78ad139dac82472ee92edfefb2683930
- and what is displayed to the system logger (the full backtrace):
https://gist.github.com/hyviquel/23cd1e20f69600fdb76cb4e9a17740b2
Anyone knows a way to print the backtrace to the terminal (similar to Linux behavior) ?
Thanks
--
Hervé
More information about the cfe-dev
mailing list