[Openmcl-devel] extracting values of variables
stassats at gmail.com
Sat Jun 27 05:10:00 UTC 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 10)
> 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)
1 > (:LOCAL A 0)
1 > (:V 0 0)
1 > (:V 1 0)
With best regards, Stas.
More information about the Openmcl-devel