-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The debugging story is not great. It is possible to use GDB and it is actually fairly nice with the Forth extensions if you are debugging assembler in codewords, but debugging forth code is painful. There is some progress with building actual Forth backtrace in GDB and there may be a viable path forward there, but at this point it's hard to even put a breakpoint anywhere.
It may make sense to try building a forth side debugger, there is some prior art:
- https://win32forth.sourceforge.net/doc/p-debugging.htm
- https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Singlestep-Debugger.html
It would probably require some overhead in the inner interpreter but we could set it up so that it can be compiled in when needed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels