[GHC] #12096: Attach stacktrace information to SomeException

GHC ghc-devs at haskell.org
Mon Mar 6 23:27:50 UTC 2017


#12096: Attach stacktrace information to SomeException
-------------------------------------+-------------------------------------
        Reporter:  ndtimofeev        |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Core Libraries    |              Version:  8.0.1
      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 mnislaih):

 Sounds like you are comparing the costs of 1) adding CallStacks to
 individual exception types vs 2) fixing call-rethrow occurrences to use
 the `...WithCallStack` variants. And concluding that the cost of 2) is
 higher, therefore `SomeExceptionWithCallStack` is a more expensive
 solution.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12096#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list