Any way to catch runtime errors in a DLL?

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Jun 14 05:33:34 EDT 2006


Hello Michael,

Wednesday, June 14, 2006, 12:41:59 PM, you wrote:

> if a runtime error occurs inside a DLL compiled by ghc (like
> "irrefutable pattern match failed" or exceptions caused by error),

see setUncaughtExceptionHandler in module Control.Exception and module
GHC.ConsoleHandler - _may be_ it is that you need

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Glasgow-haskell-users mailing list