[gforth] / gforth / debugs.fs  

gforth: gforth/debugs.fs

Diff for /gforth/debugs.fs between version 1.9 and 1.10

version 1.9, Mon Aug 25 14:17:44 2003 UTC version 1.10, Fri May 14 17:09:22 2004 UTC
Line 39 
Line 39 
 defer printdebugdata ( -- ) \ gforth print-debug-data  defer printdebugdata ( -- ) \ gforth print-debug-data
 ' .s IS printdebugdata  ' .s IS printdebugdata
 defer .debugline ( nfile nline -- ) \ gforth print-debug-line  defer .debugline ( nfile nline -- ) \ gforth print-debug-line
   \G Print the source code location indicated by @var{nfile nline}, and
   \G additional debugging information; the default @code{.debugline}
   \G prints the additional information with @code{printdebugdata}.
   
 : (.debugline) ( nfile nline -- )  : (.debugline) ( nfile nline -- )
     cr .sourcepos ." :"      cr .sourcepos ." :"
Line 49 
Line 52 
   
 ' (.debugline) IS .debugline  ' (.debugline) IS .debugline
   
 : ~~ ( compilation  -- ; run-time  -- ) \ gforth tilde-tilde  :noname ( -- )
     compile-sourcepos POSTPONE .debugline ; immediate      current-sourcepos .debugline ;
   :noname ( compilation  -- ; run-time  -- )
       compile-sourcepos POSTPONE .debugline ;
   interpret/compile: ~~  \ gforth tilde-tilde
   \G Prints the source code location of the @code{~~} and the stack
   \G contents with @code{.debugline}.
   


Generate output suitable for use with a patch program
Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help