Log exceptions to eventlog
roma at ro-che.info
Tue Aug 13 17:04:16 CEST 2013
The bug I'm looking into () is caused by the exceptions thrown by the
RTS, namely NonTermination and BlockedIndefinitelyOnSTM.
(It probably doesn't make sense to ask *who* sent the exception, but I'd
still like to know to whom they were sent and when.)
So simply modifying throwTo doesn't seem to be an option here (unless it
is also used by the RTS?).
* Simon Marlow <marlowsd at gmail.com> [2013-08-13 15:53:46+0100]
> On 12/08/13 10:20, Roman Cheplyaka wrote:
> >Is there any way to log asynchronous exceptions to the eventlog,
> >including information on which thread sent the exception and to which
> >thread it was sent?
> You can insert events yourself using Debug.Trace.traceEventIO.
> Adding some built-in events for throwTo would be a good idea, we
> don't currently have that (you could try adding it yourself if you
> like, it's not too hard).
> >Or are there any other ways to get this information?
> >Glasgow-haskell-users mailing list
> >Glasgow-haskell-users at haskell.org
More information about the Glasgow-haskell-users