@@ -20,7 +20,8 @@ options = OpenStruct.new(
20
20
'int_handler' => true ,
21
21
'dispatcher_port' => -1 ,
22
22
'evaluation_timeout' => 10 ,
23
- 'rm_protocol_extensions' => false
23
+ 'rm_protocol_extensions' => false ,
24
+ 'catchpoint_deleted_event' => false
24
25
)
25
26
26
27
opts = OptionParser . new do |opts |
55
56
56
57
opts . on ( "--keep-frame-binding" , "Keep frame bindings" ) { options . frame_bind = true }
57
58
opts . on ( "--disable-int-handler" , "Disables interrupt signal handler" ) { options . int_handler = false }
58
- opts . on ( "--rubymine-protocol-extensions" , "Enable RubyMine-specific incompatible protocol extensions" ) do
59
+ opts . on ( "--rubymine-protocol-extensions" , "Enable all RubyMine-specific incompatible protocol extensions" ) do
59
60
options . rm_protocol_extensions = true
60
61
end
62
+ opts . on ( "--catchpoint-deleted-event" , "Enable chatchpointDeleted event" ) do
63
+ options . catchpoint_deleted_event = true
64
+ end
61
65
opts . separator ""
62
66
opts . separator "Common options:"
63
67
opts . on_tail ( "-v" , "--version" , "Show version" ) do
@@ -117,6 +121,7 @@ Debugger.keep_frame_binding = options.frame_bind
117
121
Debugger . tracing = options . tracing
118
122
Debugger . evaluation_timeout = options . evaluation_timeout
119
123
Debugger . rm_protocol_extensions = options . rm_protocol_extensions
124
+ Debugger . catchpoint_deleted_event = options . catchpoint_deleted_event || options . rm_protocol_extensions
120
125
121
126
Debugger . debug_program ( options )
122
127
0 commit comments