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

Breakpoints + Interactive Debugging #198

Closed
wants to merge 1 commit into from
Closed

Breakpoints + Interactive Debugging #198

wants to merge 1 commit into from

Conversation

hostilefork
Copy link
Member

This is a start on interactive debugging. The means of entry to the
interactive debugging mode are BREAKPOINT the native, and a now Ctrl-C
will enter the debugging mode as well.

(Note: There are several usability questions and questions of what it
means to "play nice" as a console program. Many scripts might desire
Ctrl-C to exit and not enter the debugger. Both desires are valid,
and the decisions about configuration are a separate concern from the
groundwork to be able to make the choice. For now, Ctrl-C is chosen
to break; and QUIT + HALT are both options for reacting to it.)

The commands RESUME, BACKTRACE, and DEBUG are used to work with the
interrupted state. These commands are evolving and will be documented
on the Trello. Obvious feature enhancements such as step-in, step-out, and
step-over are on the near-term agenda.

This is a start on interactive debugging.  The means of entry to the
interactive debugging mode are BREAKPOINT the native, and a now Ctrl-C
will enter the debugging mode as well.

(Note: There are several usability questions and questions of what it
means to "play nice" as a console program.  Many scripts might desire
Ctrl-C to exit and not enter the debugger.  Both desires are valid,
and the decisions about configuration are a separate concern from the
groundwork to be able to make the choice.  For now, Ctrl-C is chosen
to break; and QUIT + HALT are both options for reacting to it.)

The commands RESUME, BACKTRACE, and DEBUG are used to work with the
interrupted state.  These commands are evolving and will be documented
on the Trello.
@hostilefork hostilefork deleted the breakpoints branch December 23, 2015 13:55
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant