Seeing backtrace when developing on MacOS

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Seeing backtrace when developing on MacOS

Louis Dionne via cfe-dev
 
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é



_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev