Debugging with GHCi.

Bulat Ziganshin bulat.ziganshin at gmail.com
Mon Apr 3 09:00:09 EDT 2006


Hello Lemmih,

Monday, April 3, 2006, 3:13:45 PM, you wrote:

>> The ultimate goal is that you could click on a source line in hIDE to
>> set a breakopint, run the program, and display the contents of local
>> variables when the breakpoint is hit.

> I agree on the overall goal. However, I don't like the idea of
> line-based checkpoints, and the entry point of a program (if it even
> exists) should receive no special attention over any other function.

i personally look at the Haskell as the "C++ better than C++" and
write imperative code with it. of course, i use functional
programming, but algorithms of my programs are divided into the
separate rather small steps. now i use the `print` debugging technique
and it will be cool to have ability just to stop program at some point
and see contents of data values as in other imperative language
debuggers


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Cvs-ghc mailing list