Am Samstag, 20. Mai 2023 um 19:18:44 MESZ hat Anton Ertl <anton@a4.complang.tuwien.ac.at> Folgendes geschrieben:
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.htmlBTW, in my experience a stepping debugger is usually a waste of time,
and more precise methods tend to be more effective:
Debugging - Gforth ManualHowever, the stepping debugger may be useful to understand how Forth
steps through the program.
- anton