Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add interactive command line debugger support #144

Open
cmannett85 opened this issue Nov 1, 2020 · 0 comments
Open

Add interactive command line debugger support #144

cmannett85 opened this issue Nov 1, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@cmannett85
Copy link
Owner

cmannett85 commented Nov 1, 2020

This must be done after #135.

A flag on the command line starts the VM in interactive mode, where the debugger control can happen alongside the program's I/O. This is an extension of #135 but will allow for breakpoints to added/removed during execution, and gives a real use for resume functionality.

This will rely on ncurses (or an ncurses-like library) to do the terminal rendering.

This ticket will define and test the basic functionality needed by the upcoming new playground UI and native UI.

Notes

  • Interactive mode will be initiated with the -i flag. Other flags will be honoured (overridden by help and version as normal) - except --debugger-script as that is replaced by this functionality
  • It should be implemented as an Actor only used by the malbolge target
  • main() should create an instance of it, passing the argument_parser as a const reference
@cmannett85 cmannett85 added the enhancement New feature or request label Nov 1, 2020
@cmannett85 cmannett85 self-assigned this Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant