[GHC] #9049: Expose srcLoc from the assertion architecture to allow better error messages
GHC
ghc-devs at haskell.org
Thu May 1 14:14:51 UTC 2014
#9049: Expose srcLoc from the assertion architecture to allow better error
messages
-------------------------------------+------------------------------------
Reporter: nh2 | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by simonpj):
Simon Marlow's response is this: "Compile your program with `-prof`, run
with `+RTS -xc`" and you'll get exactly the backtrace you want".
You have to compile a profiled version of the packages you install, but
you can do that by adding `--enable-pofiling` to Cabal, and you can put
that in your `~/.cabal` file.
Doesn't that do it?
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9049#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list