Re: GHC 6.8.1 RC debugger only breaking on first evaluation of a function

2007-09-20 Thread Olivier Boudry
The touch and reload option works but breakpoints are lost in the reload. For the moment putting the instructions in a script seems to be the simplest solution. Thanks for all inputs, Olivier. ___ Glasgow-haskell-users mailing list

Re: GHC 6.8.1 RC debugger only breaking on first evaluation of a function

2007-09-19 Thread Tomasz Zielonka
On Tue, Sep 18, 2007 at 02:26:38PM -0400, Olivier Boudry wrote: Hi all, I just tried the new GHCi debugger. A great new feature of GHCi 6.8.1. When debugging a function, as for example the qsort function given as an example in the 3.5 The GHCi Debugger documentation page, the debugger will

Re: GHC 6.8.1 RC debugger only breaking on first evaluation of a function

2007-09-19 Thread Simon Marlow
Olivier Boudry wrote: On 9/18/07, *Stefan O'Rear* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: There is a flag to do this, and it's even In The Manual! http://haskell.org/ghc/dist/current/docs/users_guide/ghci-set.html#id313085

Re: GHC 6.8.1 RC debugger only breaking on first evaluation of a function

2007-09-19 Thread Pepe Iborra
On 19/09/2007, at 10:05, Tomasz Zielonka wrote: If you don't find a better solution, then at least you can make it easier to perform the above sequence: $ cat ~/.ghci :def . readFile $ cat script :l Module :b 236 $ ghci GHCi, version 6.8.20070912: http://www.haskell.org/ghc/ :? for help

GHC 6.8.1 RC debugger only breaking on first evaluation of a function

2007-09-18 Thread Olivier Boudry
Hi all, I just tried the new GHCi debugger. A great new feature of GHCi 6.8.1. When debugging a function, as for example the qsort function given as an example in the 3.5 The GHCi Debugger documentation page, the debugger will only break on first function evaluation. As haskell is pure and lazy

Re: GHC 6.8.1 RC debugger only breaking on first evaluation of a function

2007-09-18 Thread Pepe Iborra
Olivier, On 18/09/2007, at 20:26, Olivier Boudry wrote: Hi all, I just tried the new GHCi debugger. A great new feature of GHCi 6.8.1. When debugging a function, as for example the qsort function given as an example in the 3.5 The GHCi Debugger documentation page, the debugger will only

Re: GHC 6.8.1 RC debugger only breaking on first evaluation of a function

2007-09-18 Thread Olivier Boudry
On 9/18/07, Pepe Iborra [EMAIL PROTECTED] wrote: Could you paste a ghci session demonstrating the problem? Here is a very short and simple debug session showing the problem: === *Main :l debug68.hs [1 of 1] Compiling Main ( debug68.hs,

Re: GHC 6.8.1 RC debugger only breaking on first evaluation of a function

2007-09-18 Thread Stefan O'Rear
On Tue, Sep 18, 2007 at 02:26:38PM -0400, Olivier Boudry wrote: Hi all, I just tried the new GHCi debugger. A great new feature of GHCi 6.8.1. When debugging a function, as for example the qsort function given as an example in the 3.5 The GHCi Debugger documentation page, the debugger will