Like
tracet but additionally prints a call stack if one is
available.
In the current GHC implementation, the call stack is only availble if
the program was compiled with
-prof; otherwise
tracetStack behaves exactly like
tracet. Entries in the
call stack correspond to
SCC annotations, so it is a good
idea to use
-fprof-auto or
-fprof-auto-calls to add
SCC annotations automatically.
Since: 2