Re: Log exceptions to eventlog
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 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). Cheers, Simon Or are there any other ways to get this information? Roman ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: Log exceptions to eventlog
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 doesn't seem to be an option here (unless it is also used by the RTS?). [1]: https://github.com/feuerbach/tasty/issues/15 Roman * Simon Marlow marlo...@gmail.com [2013-08-13 15:53:46+0100] 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 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). Cheers, Simon Or are there any other ways to get this information? Roman ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Log exceptions to eventlog
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 ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users