On Tue, May 16, 2023 at 07:05:57PM +0000, Pascal Dag wrote: > with > include debug.fs > in prog.fth > > > "gforth prog.fth" output is > > > redefined naligned redefined nalign ...
There is no need to include debug.fs, because it is already included in the Gforth image (the many "redefined" messages indicate this). This single-stepping debugger works only with gforth-itc, as documented in https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Singlestep-Debugger.html BTW, in my experience a stepping debugger is usually a waste of time, and more precise methods tend to be more effective: https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Debugging.html However, the stepping debugger may be useful to understand how Forth steps through the program. - anton
