Re: Log exceptions to eventlog

2013-08-13 Thread Simon Marlow
On 12/08/13 10:20, Roman Cheplyaka wrote: Hi, 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

Re: Log exceptions to eventlog

2013-08-13 Thread Roman Cheplyaka
Hi Simon, The bug I'm looking into ([1]) 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

Log exceptions to eventlog

2013-08-12 Thread Roman Cheplyaka
Hi, 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? Or are there any other ways to get this information? Roman signature.asc Description: Digital signature