[Haskell-beginners] Backtrace when a certain location in the code is executed

Nathan Hüsken nathan.huesken at posteo.de
Thu Aug 16 16:31:47 CEST 2012


I am trying to understand haskell program not written by me.
During runtime one function is called with parameters which makes the
function throw an error. I want to know from where the function is called.

In c++ I would set a breakpoint on the error throwing code, and let gdb
print the backtrace.
To I have similar options in haskell?
What other options do I have?


More information about the Beginners mailing list