Class Debugger::CommandProcessor
In: cli/ruby-debug/processor.rb
Parent: Processor

A Debugger::CommandProcessor is the kind of Debugger::Processor used when you are running inside the same process as the debugged program.

Methods

Attributes

display  [R] 

Public Class methods

Regularize or "canonicalize" file name filename. This is also used as a common funnel place if basename is desired or if we are working remotely and want to change the basename. Or we are eliding filenames.

Create a "protected" version of method mname. A protected method handles all unhandled exceptions that would cause the program to terminate.

Public Instance methods

This is a callback routine when the debugged program hits a breakpoint event. For example ruby-debug-base calls this.

This is a callback routine when the debugged program hits a catchpoint. For example ruby-debug-base calls this.

This is a callback routine when the debugged program hits a "line" (or statement boundary) event. For example ruby-debug-base calls this.

This is a callback routine when the debugged program hits a "return" event. For example ruby-debug-base calls this. Note: right now ruby-debug-base does not call this. Perhaps other bases routines such as the one in JRuby do.

Return the command object to run given input string input.

Run a single command specified by string input; commands is and Array of possible debugger command objects and context is a Debugger::Context object.

[Validate]