Just found GHCI can be used as a debugger

Hello, By randomly typing :<Tab> under GHCI, I discovered it could be used as a debugger (:breakpoint, :step, etc.) Three questions in that regard: 1) Is there some documentation about it? 2) I haven't investigated much, is that fairly thorough and convenient? Does some people over here use those functions on a regular basis? 3) Is it possible to save the state (notably to save the position of the breakpoints)? Thanks!

On Wed, 25 Jan 2012 22:06:34 +0100, Yves Parès
Hello,
By randomly typing :<Tab> under GHCI, I discovered it could be used as a debugger (:breakpoint, :step, etc.) Three questions in that regard: 1) Is there some documentation about it?
http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-debugger.html Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --

On 12-01-25 04:06 PM, Yves Parès wrote:
1) Is there some documentation about it?
GHC comes with a user guide in HTML somewhere on your disk. It is also on the GHC website, but I much prefer everyone to know and find it on his/her disk first. People spend lifetimes browsing the web, and not one minute browsing their very own disks.
participants (3)
-
Albert Y. C. Lai
-
Henk-Jan van Tuyl
-
Yves Parès