Skip to content

Forth debugger #38

@mkobetic

Description

@mkobetic

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions