Re: tracing a function without knowing its name



jimka <jimka@xxxxxxxxx> writes:

Does anyone know how (or at least how with sbcl) to trace a function
object without knowing its name?

for example: here is a macro which is creating a function.
I'd like to trace it as well while I'm debugging.

(defmacro def-type (type-name lambda-list &rest body)
`(new-type ',type-name (lambda ,lambda-list ,@body)))

Don't know about sbcl, but Allegro CL has a function called ftrace,
with which you can do just that:

http://www.franz.com/support/documentation/8.0/doc/operators/excl/ftrace.htm

--
Duane Rettig duane@xxxxxxxxx Franz Inc. http://www.franz.com/
555 12th St., Suite 1450 http://www.555citycenter.com/
Oakland, Ca. 94607 Phone: (510) 452-2000; Fax: (510) 452-0182
.



Relevant Pages