Stack traces in GHCi, coming in GHC 8.0.1 February 12, 2016tl;dr In the upcoming GHC 8.0.1 release, if you start GHCi with ghci -fexternal-interpreter -prof (any packages you use must be built for profiling), then you get access to detailed stack traces for all the code you load into GHCi. Stack traces can be accessed via assert, error, Debug.Trace.traceStack, and the API in GHC.Stack. Background Haxl users at Facebook do a lot of development and testing inside GHCi. In fact, we’ve built a ...