Download User Manual
Transcript
Chapter 5: Debugging 47 advise-exit procedure advice [procedure] Advice must be an exit-advice procedure. Advice is attached to procedure, so that whenever procedure returns, advice is called. advice procedure [procedure] Returns the advice procedures, if any, that are attached to procedure. This is returned as a list of two lists: the first list is all of the entry-advice procedures attached to procedure, and the second is all of the exit-advice procedures. unadvise-entry [procedure] [procedure] Removes all entry-advice procedures from procedure. If procedure is not given, the default is all entry-advised procedures. unadvise-exit [procedure] [procedure] Removes exit-advice procedures from procedure. If procedure is not given, the default is all exit-advised procedures. unadvise [procedure] [procedure] Removes all advice procedures from procedure. This is a combination of unadviseentry and unadvise-exit. If procedure is not given, the default is all advised procedures.