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
25
25
errmsg "Off expected. Got %s\n " , @match [ 2 ]
26
26
elsif Debugger . catchpoints . member? ( excn )
27
27
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 )
33
29
else
34
30
errmsg "Catch for exception %s not found.\n " , excn
35
31
end
Original file line number Diff line number Diff line change @@ -217,7 +217,11 @@ def print_catchpoint_set(exception_class_name)
217
217
end
218
218
219
219
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
221
225
end
222
226
223
227
def print_expressions ( exps )
You can’t perform that action at this time.
0 commit comments