[Haskell-cafe] Debugging methods for haskell
nominolo at googlemail.com
Thu Jul 16 04:56:20 EDT 2009
2009/7/16 Marc Weber <marco-oweber at gmx.de>
> I recall there was another method. Yeah, I even found it (using ghci and
> set -fbreak-on-exception)
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe