[GHC] #8512: Add flag like '-xc' that only reports uncaught exceptions
GHC
ghc-devs at haskell.org
Wed Nov 13 08:36:43 UTC 2013
#8512: Add flag like '-xc' that only reports uncaught exceptions
-------------------------------------+------------------------------------
Reporter: blitzcode | Owner: simonmar
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Runtime System | Version: 7.6.3
Resolution: wontfix | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Changes (by simonmar):
* status: new => closed
* resolution: => wontfix
Comment:
The problem is that there are never any uncaught exceptions. All
exceptions are caught at by something, even if it is only the outermost
default exception handler that we install for all threads. Typically most
exceptions will be caught and re-thrown multiple times by things like
`bracket`.
I agree it's noisy and undesirable, but I don't think there's anything we
can do at the RTS level for `-xc`. However, there is ongoing work on
stack traces which should eventually provide better facilities here.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8512#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list