
#3693: Show stack traces -------------------------------------+------------------------------------ Reporter: jpet | Owner: Tarrasch Type: feature request | Status: new Priority: normal | Milestone: 7.10.1 Component: Runtime System | Version: 6.10.4 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 Tarrasch): Wow, this is amazing! There's also a discussion tree at reddit: http://www.reddit.com/r/haskell/comments/1vo1se/hacking_ghcs_stack_for_fun_a... Tim covers a lot of interesting stuff I have not really had time nor knowledge to dive into. In particular he confronts the difficulties of foreign function calls and receiving signals that don't get turned into Haskell exceptions, like `unsafeWrite v 1000000000 (0 :: Int)` in contrast to `error "rts-aware exception"`. For my thesis work, I'll be sticking with how to handle RTS-aware exceptions. But I'll be enthusiastically following how Tim's ghd is progressing. His README on the github page is a very, very well-written and good read. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/3693#comment:54 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler