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

A processor handles the kind of front-end to program interaction. Debugger::Processor is the the base class with subclasses Debugger::CommandProcessor and Debugger::ControlCommandProcessor.

Methods

afmt   aprint   errmsg   print  

Attributes

commands  [R] 
interface  [RW] 
processor  [R] 

Public Instance methods

Format msg with gdb-style annotation header.

Print "annotation" message msg. Annotation messages are used by the GNU-Emacs front-end to get status about stacks and the state of the debugger without having to poll it for information

Print a debugger error message; args should be compatible with something you would pass to Kernel::print.

Print a normal debugger message; args should be compatible with something you would pass to Kernel::print.

Callers of this routine should make sure to use comma to separate format argments rather than %. Otherwise it seems that if the string you want to print has format specifier, which could happen if you are trying to show say a source-code line with "puts" or "print" in it, this print routine will give an error saying it is looking for more arguments.

[Validate]