home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.bin / lisp / lispnews / text0004.txt < prev    next >
Encoding:
Text File  |  1985-11-10  |  1.2 KB  |  28 lines

  1.  I finally got sick of showstack and baktrace and rewrote them in lisp,
  2. rincorporating some of the features people have been requesting.
  3. Showstack now works as follows:
  4.     (showstack) : show all interesting forms.  Forms resulting from
  5.               the trace package are not printed as well as 
  6.               extraneous calls to eval.  In the form printed,
  7.               the special form <**> means 'the previous expression
  8.               printed'.  prinlevel and prinlength are set to 
  9.               reasonable values to prevent the expression from
  10.               getting too large
  11.     (showstack t) : same as above but print all expressions.
  12.     (showstack 5) : print only the first 5 expressions. of course, 5
  13.               is not the only possible numeric argument.
  14.     (showstack lev 3) : set prinlevel to 3 before printing
  15.     (showstack len 4) : set prinlength to 4 before printing
  16.  the above arguments can be used in combination.
  17.  
  18. The default value of prinlevel is showstack-prinlevel, that of prinlength
  19. is showstack-prinlength.  the default showstack printer is the
  20. value of showstack-printer (default is 'print').
  21.  
  22. baktrace accepts the same arguments as showstack, but it ignores the
  23. prinlevel and prinlength arguments.
  24.  
  25.  
  26.  
  27.  
  28.