Lam*_*aal 5 haskell ghc ghci
有没有办法在GHCi中结合使用:main和:trace命令?我需要在需要输入参数的应用程序中跟踪异常.
:main
:trace
arr*_*owd 3
当然,很简单:trace main。
:trace main
不要忘记:set -fbreak-on-error和:set -fbreak-on-exception。
:set -fbreak-on-error
:set -fbreak-on-exception
归档时间:
11 年,11 月 前
查看次数:
595 次
最近记录: