[gambit-list] debugger problem

Marc Feeley feeley at iro.umontreal.ca
Wed Apr 4 01:05:51 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 3-Apr-07, at 10:46 PM, |/|/ Bendick wrote:

> I'm having a problem with the gambit debugger. If I understand
> correctly ",l" should differ from ",s" in that ",l" leaps over the
> expression in question without stepping through the call while ",s"
> will step through. If that is correct the problem is ",l" is
> performing the same function as ",s" -- it steps into the code. I'm
> having this problem with b21, b20, b19.. Is anyone else experiencing
> this? Anyone have a fix?

Beta 22 will include a fix for this problem.  In the meantime here's  
a patch for lib/_repl.scm :

1930,1931d1929
<     (##step-off) ; turn off single-stepping
<
2030c2028,2031
<                         (return cmd)
- ---
 >                         (begin
 >                           (if (##not (##eq? cmd 'c))
 >                             (##step-on))
 >                           (return cmd))
2055a2057,2058
 >                                    (if (##not (##eq? cmd2 'c))
 >                                      (##step-on))
2058a2062,2063
 >                                    (if (##not (##eq? cmd2 'c))
 >                                      (##step-on))


Marc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFGEzIv//V9Zc2T/v4RAiFxAJ9E7niuNfVTFT279wJOmnznNxNjjgCgvftm
zM2KGVyQxT4YXUDtvVp930k=
=++iw
-----END PGP SIGNATURE-----



More information about the Gambit-list mailing list