>>>>> "Chisheng" == Chisheng Huang <[EMAIL PROTECTED]> writes:
Chisheng> (defclass babu () ())
Chisheng> (defmethod call-x ((babu babu))
Chisheng> (x babu))
Chisheng> (defun x (babu)
Chisheng> (when babu
Chisheng> (random 1000)))
[snip]
Chisheng> (trace x :wherein (method call-x (babu)))
The :wherein option takes a name or list of names of functions, so
this call is really saying you want to trace when X is called from the
functions METHOD, CALL-X or (BABU). The correct call is
(trace x :wherein ((method call-x (babu))))
But this doesn't work.
I've made a few changes so that trace will recognize this form, but
trace will display something when ANY method named CALL-X is called.
Is that acceptable? Or did you really only want traces for that
particular method? This will be a quite a bit harder because it's
hard to match up the actual method name and the desired method name.
Ray