summaryrefslogtreecommitdiff
path: root/lib/irb/statement.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/statement.rb')
-rw-r--r--lib/irb/statement.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/irb/statement.rb b/lib/irb/statement.rb
index 9493c3ffb1..b12110600c 100644
--- a/lib/irb/statement.rb
+++ b/lib/irb/statement.rb
@@ -60,7 +60,9 @@ module IRB
end
def should_be_handled_by_debugger?
- IRB::ExtendCommand::DebugCommand > @command_class
+ require_relative 'cmd/help'
+ require_relative 'cmd/debug'
+ IRB::ExtendCommand::DebugCommand > @command_class || IRB::ExtendCommand::Help == @command_class
end
def evaluable_code