2009/7/16 Marc Weber <marco-owe...@gmx.de> > > > I recall there was another method. Yeah, I even found it (using ghci and > set -fbreak-on-exception) > > http://donsbot.wordpress.com/2007/11/14/no-more-exceptions-debugging-haskell-code-with-ghci/
Careful, better use -fbreak-on-error rather than -fbreak-on-exception. Some functions, e.g. 'doesFileExist', use exceptions internally and you might end up stopping at an exception that is benign. (Identifying the exception has become a little harder since we got extensible exceptions.) -- Push the envelope. Watch it bend.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe