GNOME Bugzilla – Bug 700262
Add a way to get backtraces from criticals and warnings
Last modified: 2013-05-14 21:26:28 UTC
Attaching gdb and running with G_DEBUG=fatal-warnings is not a very fast to debug a specific issue (especially if you have warnings at startup, since then you need to run the shell from a terminal). Instead, introduce a new SHELL_DEBUG environment variable that can be set to backtrace-warning, causing a gjs_dumpstack() after every warning or critical.
Created attachment 244116 [details] [review] Add a way to get backtraces from criticals and warnings
Review of attachment 244116 [details] [review]: Makes sense is indeed more convenient.
Attachment 244116 [details] pushed as 12ba2b2 - Add a way to get backtraces from criticals and warnings