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+
15## [ 0.4.33] ( https://github.com/ruby-debug/ruby-debug-ide/compare/v0.4.32...v0.4.33 )
26
37* Fixed problem with inspecting Jbuilder
Original file line number Diff line number Diff line change @@ -25,8 +25,11 @@ def execute
2525 errmsg "Off expected. Got %s\n " , @match [ 2 ]
2626 elsif Debugger . catchpoints . member? ( excn )
2727 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
3033 else
3134 errmsg "Catch for exception %s not found.\n " , excn
3235 end
@@ -40,7 +43,9 @@ def help_command
4043 def help ( cmd )
4144 %{
4245 cat[ch]\t \t \t show catchpoint
46+ cat[ch] off \t remove all catch points
4347 cat[ch] <an Exception>\t set catchpoint to an exception
48+ cat[ch] <an Exception> off \t remove catchpoint for an exception
4449 }
4550 end
4651 end
Original file line number Diff line number Diff line change 11module Debugger
2- IDE_VERSION = '0.4.33 '
2+ IDE_VERSION = '0.4.34 '
33end
Original file line number Diff line number Diff line change @@ -216,6 +216,10 @@ def print_catchpoint_set(exception_class_name)
216216 print "<catchpointSet exception=\" %s\" />" , exception_class_name
217217 end
218218
219+ def print_catchpoint_deleted ( exception_class_name )
220+ print "<catchpointDeleted exception=\" %s\" />" , exception_class_name
221+ end
222+
219223 def print_expressions ( exps )
220224 print_element "expressions" do
221225 exps . each_with_index do |( exp , value ) , idx |
You can’t perform that action at this time.
0 commit comments