Joh*_*ely 5 debugging trace common-lisp
在 Common Lisp 中,函数(跟踪名称)可用于查看有关函数调用的输出。
如果我的函数是用局部作用域声明的,我如何描述它以进行跟踪?
例如,如何跟踪栏,如下:
(defun foo (x)
(labels ((bar (y) (format t "bar: ~a~&" y)))
(bar x)))
Run Code Online (Sandbox Code Playgroud)