Add pprSTrace for debugging with call stacks
authorBartosz Nitka <bnitka@fb.com>
Sat, 7 Nov 2015 23:21:11 +0000 (00:21 +0100)
committerBen Gamari <ben@smart-cactus.org>
Sat, 7 Nov 2015 23:54:05 +0000 (00:54 +0100)
commit80d7ce8038a100f6797a89755c893c6f67f18a30
tree918e5d0f9214d17d64dd2ca804c9a364e6de2350
parent932d50364912087e2051505290acde7a16532b4d
Add pprSTrace for debugging with call stacks

I've spent quite a bit of time giving unique labels to my `pprTrace`
calls and then trying to intuit where the function is called from.
Thanks to the new implicit parameter CallStack functionality I don't
have to do that anymore.

Test Plan: harbormaster

Reviewers: austin, simonmar, bgamari

Reviewed By: simonmar, bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1440
compiler/utils/Outputable.hs