debugging - Evaluating expressions in SLIME while using STEP -
i using slime sbcl. in sbcl, can (step (call-some-function 1 2 3))
, able step through/into/out of each line of code, executing arbitrary expressions of own see current state of variables are.
but if try same in repl in slime, get:
evaluating call: (cp-get-all-pe-matches-any-length sent-id) arguments: 581869302 [condition of type step-form-condition] restarts: 0: [step-continue] resume normal execution 1: [step-out] resume stepping after returning function 2: [step-next] step on call 3: [step-into] step call 4: [abort] exit debugger, returning top level. backtrace: 0: (call-some-function 1 2 3) ...
there doesn't seem way obtain current value of sent-id
, or evaluate (nth 1 some-list)
.
is in fact case, , if so, mean have fire second instance of sbcl in terminal, , step through function @ same time in slime in order functionality?
you can still use repl in slime when placed in debugger, routinely e.g. when errors occur. have switch repl buffer , type. not show prompt initially, once give initial form.
Comments
Post a Comment