From: Fred Dushin
Subject: STEP facility in Lucid Common Lisp/SPARC
Date: 
Message-ID: <1994Mar30.203107.28967@newstand.syr.edu>
Could someone help we with the STEP facility in LCL?
I'm using *lisp on a sun4 connected to a cm5 (not that
that makes any difference).  Here's the some of the opening:

;;; Lucid Common Lisp/SPARC
;;; Development Environment Version 4.1, 12 October 1992
;;; Copyright (C) 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992 by Lucid, Inc.
;;; All Rights Reserved


Anyway, I can't figure out how to use STEP.  According to Steele
(p.696 2nd Ed.), the syntax is (step <form>), but the
"nature of the interaction is implementation dependent".
Believe it or not, we don't have any helpful manuals here
about the implementation of lisp on these machines (or any other
for that matter).  The ? gives nothing.

Thanks,

Fred Dushin
Syracuse University
Syracuse, NY
From: Barry Margolin
Subject: Re: STEP facility in Lucid Common Lisp/SPARC
Date: 
Message-ID: <2nm5ooINNrha@early-bird.think.com>
In article <······················@newstand.syr.edu> ········@top.cis.syr.edu (Fred Dushin) writes:
>Could someone help we with the STEP facility in LCL?
>I'm using *lisp on a sun4 connected to a cm5 (not that
>that makes any difference).  Here's the some of the opening:
...
>Anyway, I can't figure out how to use STEP.  According to Steele
>(p.696 2nd Ed.), the syntax is (step <form>), but the
>"nature of the interaction is implementation dependent".
>Believe it or not, we don't have any helpful manuals here
>about the implementation of lisp on these machines (or any other
>for that matter).  The ? gives nothing.

When I type "?" I get a list of allowable responses.  However, some
experimentation shows that the response is package-sensitive, so this only
works if your current package uses the LCL package, so that it inherits
LCL:?.  All the responses are normally :keywords (as is done in the
debugger), and ? is just a synonym for :h.

Anyway, here's the list of responses:

:n            Evaluate current expression in step mode.
:s            Evaluate current expression without stepping.
:u            Evaluate current expression without stepping
                 and go up one level of stepping.
:x            Finish evaluation, but turn Stepper off.
:p            Print current expression.
:pp           Pretty-print current expression.
:b            Enter the Debugger.
:q            Exit to Top Level.
:h or ?       Print this text.

If you type anything else, it's evaluated in the context of the current
expression.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

······@think.com          {uunet,harvard}!think!barmar