跟踪ghci中的主要功能

时间:2014-03-17 16:13:09

标签: haskell ghc ghci

有没有办法在GHCi中结合:main:trace命令?我需要在需要输入参数的应用程序中跟踪异常。

1 个答案:

答案 0 :(得分:3)

当然,它只是:trace main

不要忘记:set -fbreak-on-error:set -fbreak-on-exception