3 ms·
> Lack of information on a runtime exception. The -xc runtime option does just that, with a stack trace[0]. ./app +RTS -xc > Total lack of debugging tools
by creichert 11y ago
> Lack of information on a runtime exception.
The -xc runtime option does just that, with a stack trace[0].
./app +RTS -xc
> Total lack of debugging tools
I wouldn't exactly say there is a total lack. To name a few:
Thread Scope: https://wiki.haskell.org/ThreadScope https://wiki.haskell.org/ThreadScope
Event Log: https://ghc.haskell.org/trac/ghc/wiki/EventLog https://ghc.haskell.org/trac/ghc/wiki/EventLog (capable of live monitoring)
GHCi Debugger: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci-debugger.html https://downloads.haskell.org/~ghc/latest/docs/html/users_gu...
EKG: https://hackage.haskell.org/package/ekg https://hackage.haskell.org/package/ekg
I also consider type system features to be a very useful form of tooling:
Typed Holes: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/typed-holes.html https://downloads.haskell.org/~ghc/latest/docs/html/users_gu...
Deferring Type Errors: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/defer-type-errors.html https://downloads.haskell.org/~ghc/latest/docs/html/users_gu...
Partial Type Signatures: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/partial-type-signatures.html https://downloads.haskell.org/~ghc/latest/docs/html/users_gu...
[0] - Can't direct link, look for -xc here: https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/runtime-control.html https://downloads.haskell.org/~ghc/latest/docs/html/users_gu...