--- gforth/debugs.fs 2009/02/17 20:49:49 1.19 +++ gforth/debugs.fs 2009/12/31 15:32:35 1.22 @@ -1,6 +1,6 @@ \ Simple debugging aids -\ Copyright (C) 1995,1997,1999,2002,2003,2004,2005,2006,2007 Free Software Foundation, Inc. +\ Copyright (C) 1995,1997,1999,2002,2003,2004,2005,2006,2007,2009 Free Software Foundation, Inc. \ This file is part of Gforth. @@ -49,8 +49,8 @@ defer .debugline ( nfile nline -- ) \ gf printdebugdata cr ; -stderr value debug-fid -\ file-id to output debugging stuff to +stderr value debug-fid ( -- fid ) +\G (value) Debugging output prints to this file ' (.debugline) IS .debugline @@ -65,3 +65,4 @@ interpret/compile: ~~ ( -- ) \ gforth ti \G Prints the source code location of the @code{~~} and the stack \G contents with @code{.debugline}. +:noname ( -- ) stderr to debug-fid defers 'cold ; IS 'cold