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?
Unrelated-- I've noticed that when using gambit in emacs it always thinks by screen width is 80
(output-port-width (repl-output-port))
80
even when the terminal is 164 characters wide. I started emacs and gambit with the terminal already at this width. The width is correctly reported if I just start gsi from command line.
I've noticed these problems on mac os x and netbsd so I don't think it's something funky on my end. Can anyone help? Thanks in advance!
Afficher les réponses par date
On Apr 3, 2007, at 10:46 PM, |/|/ Bendick wrote:
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?
Yes, it seems to go back to at least 2005:
https://webmail.iro.umontreal.ca/pipermail/gambit-list/2005-March/ 000163.html
Anyone have a fix?
Can't help you there.
Brad
-----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