X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fntrace.lisp;h=9e54bf28f4864f25bf57a01d7e20835fd3cd8171;hb=b8f63d9b4e978bec3bfc1f4fc471e5ed946781fd;hp=54afe6999bad63fc0eea8fb50a899d7972e506f4;hpb=f188d1c6cdcb9d9aa117baf617c70a2933fa1c60;p=sbcl.git diff --git a/src/code/ntrace.lisp b/src/code/ntrace.lisp index 54afe69..9e54bf2 100644 --- a/src/code/ntrace.lisp +++ b/src/code/ntrace.lisp @@ -81,19 +81,18 @@ ;; list of null environment forms (print-after () :type list)) -;;; This is a list of conses (function-end-cookie . -;;; condition-satisfied), which we use to note distinct dynamic -;;; entries into functions. When we enter a traced function, we add a -;;; entry to this list holding the new end-cookie and whether the -;;; trace condition was satisfied. We must save the trace condition so -;;; that the after breakpoint knows whether to print. The length of -;;; this list tells us the indentation to use for printing TRACE -;;; messages. +;;; This is a list of conses (function-end-cookie . condition-satisfied), +;;; which we use to note distinct dynamic entries into functions. When +;;; we enter a traced function, we add a entry to this list holding +;;; the new end-cookie and whether the trace condition was satisfied. +;;; We must save the trace condition so that the after breakpoint +;;; knows whether to print. The length of this list tells us the +;;; indentation to use for printing TRACE messages. ;;; ;;; This list also helps us synchronize the TRACE facility dynamically ;;; for detecting non-local flow of control. Whenever execution hits a -;;; :function-end breakpoint used for TRACE'ing, we look for the -;;; function-end-cookie at the top of *traced-entries*. If it is not +;;; :FUNCTION-END breakpoint used for TRACE'ing, we look for the +;;; FUNCTION-END-COOKIE at the top of *TRACED-ENTRIES*. If it is not ;;; there, we discard any entries that come before our cookie. ;;; ;;; When we trace using encapsulation, we bind this variable and add