Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Debugging in ACL/emacs

5 views
Skip to first unread message

Anders Vinjar

unread,
May 22, 2000, 3:00:00 AM5/22/00
to
Try typing :zoom to the prompt. You'll get a backtrace of whats
happened recently. Some place down in this list youll find some
expression describing where in the file the bug was hit.

The number 34 in the form "((:TOP-LEVEL-FORM "typo.cl" 34))"
below indicates a file-position.


[1] CM(19): :zo
Evaluation stack:

(ERROR #<UNBOUND-VARIABLE @ #x208e03c2>)
->(SYS::..CONTEXT-SAVING-RUNTIME-OPERATION)
((:TOP-LEVEL-FORM "typo.cl" 34))
(LOAD #p"typo.fasl")


>>> "RJPG" == Richard James Panturis Giuly <rgi...@surfsouth.com> writes:

RJPG> Using ACL with Emacs, I get common errors as shown below. Lets
RJPG> say I just tried to compile a 500 line file and got this error.
RJPG> Is there some way to make acl tell me where in the file the error
RJPG> occurred?

RJPG> Error: attempt to call `TYPO' which is an undefined function.
RJPG> [condition type: UNDEFINED-FUNCTION]

RJPG> Restart actions (select using :continue):
RJPG> 0: Try calling TYPO again.
RJPG> 1: Return a value instead of calling TYPO.
RJPG> 2: Try calling a function other than TYPO.
RJPG> 3: Setf the symbol-function of TYPO and call it again.
RJPG> 4: Abort #<PROCESS Evaluation Request 48>
RJPG> [Current process: Evaluation Request 48]
RJPG> [1] USER(1):

Robert Monfera

unread,
May 22, 2000, 3:00:00 AM5/22/00
to

Richard James Panturis Giuly wrote:

> Using ACL with Emacs, I get common errors as shown below. Lets

> say I just tried to compile a 500 line file and got this error.

> Is there some way to make acl tell me where in the file the error

> occurred?

It's not ACL and not Emacs, but LW has a cool feature that highlights
the exact expression inside a function or method that threw the error,
regardless of which file it is in.

Robert

0 new messages