Get the latest tech news

Haskell: Debugging


Stack trace General usage Recent versions of GHC allow a dump of a stack trace (of all cost centres) when an exception is raised. In order to enable this, compile with -prof, and run with +RTS -xc.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Haskell

Haskell

Related news:

News photo

A couple million lines of Haskell: Production engineering at Mercury

News photo

Why I still reach for Lisp and Scheme instead of Haskell

News photo

Show HN: CLI to order groceries via reverse-engineered REWE API (Haskell)