Skip to content

Commit 183e82f

Browse files
committed
removed exception class check
it's only needed for tiny warning and as a side-effect crashes when exception class is not loaded
1 parent e79ce98 commit 183e82f

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lib/ruby-debug-ide/commands/catchpoint.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ def execute
1818
if 'off' == excn
1919
Debugger.catchpoints.clear
2020
else
21-
binding = @state.context ? get_binding : TOPLEVEL_BINDING
22-
unless debug_eval("#{excn}.is_a?(Class)", binding)
23-
print_msg "Warning #{excn} is not known to be a Class"
24-
end
2521
Debugger.add_catchpoint(excn)
2622
print_catchpoint_set(excn)
2723
end

lib/ruby-debug-ide/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Debugger
2-
IDE_VERSION='0.4.17.beta13'
2+
IDE_VERSION='0.4.17.beta14'
33
end

0 commit comments

Comments
 (0)