#3693: Show stack traces
------------------------------+---------------------------------------------
  Reporter:  jpet             |          Owner:                  
      Type:  feature request  |         Status:  new             
  Priority:  normal           |      Milestone:  _|_             
 Component:  Runtime System   |        Version:  6.10.4          
Resolution:                   |       Keywords:                  
Difficulty:                   |             Os:  Unknown/Multiple
  Testcase:                   |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |  
------------------------------+---------------------------------------------
Comment (by simonmar):

 Yes you can walk the stack, but the problem is that due to the amount of
 code transformation that GHC does, it is almost impossible to relate stack
 frames at runtime to the original code.  The code that runs bears little
 resemblance to the code you wrote in the original program.  Case
 expressions in the compiled code may or may not correspond to case
 expressions or pattern matches in the original code, and GHC doesn't
 generally keep track of that information.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3693#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to