[GHC] #10656: Ability to get stack traces from Haskell code
GHC
ghc-devs at haskell.org
Sat Jul 18 09:33:51 UTC 2015
#10656: Ability to get stack traces from Haskell code
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: Tarrasch
Type: feature | Status: new
request | Milestone: 7.12.1
Priority: normal | Version: 7.10.1
Component: Compiler | Operating System: Unknown/Multiple
Keywords: | Type of failure: None/Unknown
Architecture: | Blocked By:
Unknown/Multiple | Related Tickets: #3693
Test Case: |
Blocking: |
Differential Revisions: Phab:D963 |
-------------------------------------+-------------------------------------
With the merge of Phab:D169 and Phab:D396 (included in GHC 7.10.1) GHC now
has the ability to produce DWARF debugging information in compiled
binaries.
It would be nice if Haskell programs could request stack backtraces from
the RTS. Tarrasch has some work in this direction in Phab:D963 however
there are a number of questions that remain outstanding,
* do we want to rely on an external library for parsing DWARF
information? If so, how do we address portability concerns?
* What should the Haskell-land interfaces look like? Writing down some
concrete use-cases would help here.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10656>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list