[Openmcl-devel] extracting values of variables
Stas Boukarev
stassats at gmail.com
Fri Jun 26 22:10:00 PDT 2009
On Sat, Jun 27, 2009 at 8:30 AM, <slepstein at mindspring.com> wrote:
> I'm still a Clozure newbie and what I need most is to debug in the breaks. Some of the interface is intuitive and great, but in MCL I could use (local #) to the Listener in a break to access and then manipulate values. The documentation suggests that I should be able to get values of arguments and of local variables, but it doesn't work consistently. I've attached a copy of the top of a backtrace window.
Here's what I get:
? (defun foo (a) (let ((a (+ 10 a))) (break) a))
FOO
? (foo 10)
> Break:
> While executing: FOO, in process listener(1).
> Type :GO to continue, :POP to abort, :R for a list of available restarts.
> If continued: Return from BREAK.
> Type :? for other options.
1 > (:ARG A 0)
10
1 > (:LOCAL A 0)
20
1 > (:V 0 0)
10
1 > (:V 1 0)
20
--
With best regards, Stas.
More information about the Openmcl-devel
mailing list