[GHC] #11035: Add implicit call-stacks to partial functions in base
GHC
ghc-devs at haskell.org
Thu Oct 29 18:09:55 UTC 2015
#11035: Add implicit call-stacks to partial functions in base
-------------------------------------+-------------------------------------
Reporter: gridaphobe | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by gridaphobe):
Possibly, I admit I'm not super familiar with the DWARF work. My main
concern would be that the DWARF stack trace will expose haskell's lazy
evaluation just like the cost-centre traces do.
I find these difficult to debug because they jump all over the place as
values are demanded. That might be useful for performance debugging, but
for debugging a crash I just want to know '''where''' things were called,
not what sequence of "demandings" led me to the crash. In other words, I
want a trace based on the static call graph, which is what the implicit
call-stacks provide.
I hope that makes sense.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11035#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list