128 |
# to include, command line arguments... |
# to include, command line arguments... |
129 |
file = @plugin['/system/ui/current/EditPane'].manager.file |
file = @plugin['/system/ui/current/EditPane'].manager.file |
130 |
@plugin.log_info << "File to debug : #{file}" |
@plugin.log_info << "File to debug : #{file}" |
131 |
debuggee_file = File.join("#{@plugin.plugin_configuration.base_path}","debuggee.rb") |
debuggee_file = File.join("#{@plugin.plugin_configuration.full_base_path}","debuggee.rb") |
132 |
command = "ruby -I. -Iso -Iredist -r #{debuggee_file} #{file}" |
drb_file = File.join(@plugin['/system/properties/config/codebase'].data,'redist','drb','drb') |
133 |
|
exec_dir = File.dirname(file) |
134 |
|
command = "ruby -C \"#{exec_dir}\" -r \"#{drb_file}\" -r \"#{debuggee_file}\" \"#{file}\"" |
135 |
puts command if DEBUG |
puts command if DEBUG |
136 |
|
|
137 |
# On Windows/mswin32 build the popen3 method doesn't work because |
# On Windows/mswin32 build the popen3 method doesn't work because |