Class: Debugger::TraceCommand
Overview
Constant Summary
Constants inherited
from Command
Command::DEF_OPTIONS
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Command
commands, inherited, #initialize, load_commands, #match, method_missing, options
Class Method Details
.help(cmd) ⇒ Object
25
26
27
28
29
30
|
# File 'lib/ruby-debug/commands/trace.rb', line 25
def help(cmd)
%{
tr[ace] (on|off)\tset trace mode of current thread
tr[ace] (on|off) all\tset trace mode of all threads
}
end
|
.help_command ⇒ Object
21
22
23
|
# File 'lib/ruby-debug/commands/trace.rb', line 21
def help_command
'trace'
end
|
Instance Method Details
#regexp ⇒ Object
3
4
5
|
# File 'lib/ruby-debug/commands/trace.rb', line 3
def regexp
/^\s*tr(?:ace)?(?:\s+(on|off))?(?:\s+(all))?$/
end
|