Class: Debugger::Processor

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

Should this be a mixin?

### Methods

afmt aprint errmsg print

### Attributes

interface | [RW] |

### Public Instance methods

afmt(msg, newline="\n")

Format msg with gdb-style annotation header

aprint(msg)
errmsg(*args)

FIXME: use delegate?

print(*args)

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]