Re: How to "single-step" in slime+emacs



Mirko.Vukovic@xxxxxxxxx wrote:
On May 28, 11:36 am, Juho Snellman <jsn...@xxxxxx> wrote:
trying to figure it out and read up on it, but to no avail.
First ensure that you enter the debugger when calling CALLER. For
example by doing (trace caller :break t), or by adding an explicit
BREAK into the source code.

Once in the debugger, press "s" to enter the stepper. From there you
can use "s" to step into the call, "x" to step over the call, or "o"
to step out of the function that's currently being executed.

I believe these are the bindings when using SBCL directly.

When using slime, the key bindings are different, eg.

0: [STEP-CONTINUE] Resume normal execution
1: [STEP-OUT] Resume stepping after returning from this function
2: [STEP-NEXT] Step over call
3: [STEP-INTO] Step into call

This is with SBCL 1.0.11 and a SLIME from CVS.from some time mid 2007.

Peter

--
Juho Snellman

I get an error when I try to use "s", "x", or "o". The last two are
not assigned to any emacs commands, while pressing "s" results in

No continue restart.
[Condition of type SIMPLE-ERROR]

Restarts:
0: [ABORT] Return to sldb level 1.
1: [ABORT-REQUEST] Abort handling SLIME request.
2: [ABORT] Exit debugger, returning to top level.


I may need to update my slime setup.

Thank you to all of you. This will make life much simpler.

Mirko
.



Relevant Pages

  • Re: SBCL, SLIME and C-c (abort)
    ... I am trying to find out how to abort a calculation in SBCL, ...  When I press C-c to interrupt ... detailed mail to the development list of Slime. ...
    (comp.lang.lisp)
  • slime, debian(testing, 2.6.8), sbcl(0.9.16)
    ... The problem is that I can't run slime. ... or to exit from SBCL. ... Exit debugger, returning to top level. ...
    (comp.lang.lisp)
  • Question about a SLIME error message
    ... I use CLisp + Slime. ... But now when I try C-c C-k ... 0: [ABORT] Abort SLIME compilation. ...
    (comp.lang.lisp)
  • Re: SBCL, SLIME and C-c (abort)
    ... I am trying to find out how to abort a calculation in SBCL, ... Interrupt from Emacs ... detailed mail to the development list of Slime. ...
    (comp.lang.lisp)
  • Re: SBCL, SLIME and C-c (abort)
    ... but neither 1 nor 2 will abort the calculation. ... detailed mail to the development list of Slime. ...
    (comp.lang.lisp)