File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,7 @@ def execute
2525 errmsg "Off expected. Got %s\n " , @match [ 2 ]
2626 elsif Debugger . catchpoints . member? ( excn )
2727 Debugger . catchpoints . delete ( excn )
28- if Debugger . rm_protocol_extensions
29- print_catchpoint_deleted ( excn )
30- else
31- print_catchpoint_set ( excn )
32- end
28+ print_catchpoint_deleted ( excn )
3329 else
3430 errmsg "Catch for exception %s not found.\n " , excn
3531 end
Original file line number Diff line number Diff line change @@ -217,7 +217,11 @@ def print_catchpoint_set(exception_class_name)
217217 end
218218
219219 def print_catchpoint_deleted ( exception_class_name )
220- print "<catchpointDeleted exception=\" %s\" />" , exception_class_name
220+ if Debugger . rm_protocol_extensions
221+ print "<catchpointDeleted exception=\" %s\" />" , exception_class_name
222+ else
223+ print_catchpoint_set ( exception_class_name )
224+ end
221225 end
222226
223227 def print_expressions ( exps )
You can’t perform that action at this time.
0 commit comments