[Haskell-cafe] Just found GHCI can be used as a debugger

2012-01-25 Thread 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?
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!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Just found GHCI can be used as a debugger

2012-01-25 Thread Henk-Jan van Tuyl
On Wed, 25 Jan 2012 22:06:34 +0100, Yves Parès yves.pa...@gmail.com  
wrote:



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
--

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Just found GHCI can be used as a debugger

2012-01-25 Thread Albert Y. C. Lai

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.



___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe