Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bin/rdebug-ide
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ options = OpenStruct.new(
'port' => 1234,
'stop' => false,
'tracing' => false,
'skip_wait_for_start' => false,
'int_handler' => true,
'dispatcher_port' => -1,
'evaluation_timeout' => 10,
Expand Down Expand Up @@ -67,6 +68,7 @@ EOB

opts.on('--stop', 'stop when the script is loaded') {options.stop = true}
opts.on("-x", "--trace", "turn on line tracing") {options.tracing = true}
opts.on("--skip_wait_for_start", "skip wait for 'start' command") {options.skip_wait_for_start = true}
opts.on("-l", "--load-mode", "load mode (experimental)") {options.load_mode = true}
opts.on("-d", "--debug", "Debug self - prints information for debugging ruby-debug itself") do
Debugger.cli_debug = true
Expand Down
2 changes: 1 addition & 1 deletion lib/ruby-debug-ide.rb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def prepare_debugger(options)
# wait for 'start' command
@mutex.synchronize do
@proceed.wait(@mutex)
end
end unless options.skip_wait_for_start
end

def debug_program(options)
Expand Down
3 changes: 0 additions & 3 deletions ruby-debug-ide.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,4 @@ EOF
spec.required_ruby_version = '>= 1.8.2'
spec.date = DateTime.now
spec.rubyforge_project = 'debug-commons'

# rdoc
spec.has_rdoc = false
end