File tree Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Expand file tree Collapse file tree 4 files changed +16
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## [ 0.4.34] ( https://github.com/ruby-debug/ruby-debug-ide/compare/v0.4.33...v0.4.34 )
2
+
3
+ * catchpointDeleted event added (under rm-protocol-extensions flag)
4
+
1
5
## [ 0.4.33] ( https://github.com/ruby-debug/ruby-debug-ide/compare/v0.4.32...v0.4.33 )
2
6
3
7
* Fixed problem with inspecting Jbuilder
Original file line number Diff line number Diff line change @@ -25,8 +25,11 @@ def execute
25
25
errmsg "Off expected. Got %s\n " , @match [ 2 ]
26
26
elsif Debugger . catchpoints . member? ( excn )
27
27
Debugger . catchpoints . delete ( excn )
28
- print_catchpoint_set ( excn )
29
- #print "Catch for exception %s removed.\n", excn
28
+ if Debugger . rm_protocol_extensions
29
+ print_catchpoint_deleted ( excn )
30
+ else
31
+ print_catchpoint_set ( excn )
32
+ end
30
33
else
31
34
errmsg "Catch for exception %s not found.\n " , excn
32
35
end
@@ -40,7 +43,9 @@ def help_command
40
43
def help ( cmd )
41
44
%{
42
45
cat[ch]\t \t \t show catchpoint
46
+ cat[ch] off \t remove all catch points
43
47
cat[ch] <an Exception>\t set catchpoint to an exception
48
+ cat[ch] <an Exception> off \t remove catchpoint for an exception
44
49
}
45
50
end
46
51
end
Original file line number Diff line number Diff line change 1
1
module Debugger
2
- IDE_VERSION = '0.4.33 '
2
+ IDE_VERSION = '0.4.34 '
3
3
end
Original file line number Diff line number Diff line change @@ -216,6 +216,10 @@ def print_catchpoint_set(exception_class_name)
216
216
print "<catchpointSet exception=\" %s\" />" , exception_class_name
217
217
end
218
218
219
+ def print_catchpoint_deleted ( exception_class_name )
220
+ print "<catchpointDeleted exception=\" %s\" />" , exception_class_name
221
+ end
222
+
219
223
def print_expressions ( exps )
220
224
print_element "expressions" do
221
225
exps . each_with_index do |( exp , value ) , idx |
You can’t perform that action at this time.
0 commit comments