|
From: <caw...@us...> - 2007-02-11 19:56:17
|
Revision: 1947
http://svn.sourceforge.net/rubyeclipse/?rev=1947&view=rev
Author: cawilliams
Date: 2007-02-11 11:55:56 -0800 (Sun, 11 Feb 2007)
Log Message:
-----------
try to fix using classic debugger
Modified Paths:
--------------
trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/RDebugVMDebugger.java
trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/StandardVMDebugger.java
Modified: trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/RDebugVMDebugger.java
===================================================================
--- trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/RDebugVMDebugger.java 2007-02-10 20:25:06 UTC (rev 1946)
+++ trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/RDebugVMDebugger.java 2007-02-11 19:55:56 UTC (rev 1947)
@@ -1,7 +1,5 @@
package org.rubypeople.rdt.internal.launching;
-import java.io.File;
-import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@@ -12,7 +10,6 @@
import org.eclipse.debug.core.ILaunch;
import org.rubypeople.rdt.internal.debug.core.RubyDebuggerProxy;
import org.rubypeople.rdt.internal.debug.core.model.RubyDebugTarget;
-import org.rubypeople.rdt.internal.debug.core.model.RubyProcessingException;
import org.rubypeople.rdt.launching.IRubyLaunchConfigurationConstants;
import org.rubypeople.rdt.launching.IVMInstall;
import org.rubypeople.rdt.launching.VMRunnerConfiguration;
@@ -58,4 +55,8 @@
return arguments;
}
+ protected RubyDebuggerProxy getDebugProxy(RubyDebugTarget debugTarget) {
+ return new RubyDebuggerProxy(debugTarget, RDebugVMDebugger.getDirectoryOfRubyDebuggerFile(), true);
+ }
+
}
Modified: trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/StandardVMDebugger.java
===================================================================
--- trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/StandardVMDebugger.java 2007-02-10 20:25:06 UTC (rev 1946)
+++ trunk/org.rubypeople.rdt.launching/src/org/rubypeople/rdt/internal/launching/StandardVMDebugger.java 2007-02-11 19:55:56 UTC (rev 1947)
@@ -122,7 +122,7 @@
subMonitor.subTask(LaunchingMessages.StandardVMDebugger_Establishing_debug_connection____5);
debugTarget.setProcess(process);
- RubyDebuggerProxy proxy = new RubyDebuggerProxy(debugTarget, RDebugVMDebugger.getDirectoryOfRubyDebuggerFile(), true);
+ RubyDebuggerProxy proxy = getDebugProxy(debugTarget);
try {
proxy.start();
launch.addDebugTarget(debugTarget);
@@ -138,6 +138,10 @@
// }
}
+ protected RubyDebuggerProxy getDebugProxy(RubyDebugTarget debugTarget) {
+ return new RubyDebuggerProxy(debugTarget, RDebugVMDebugger.getDirectoryOfRubyDebuggerFile(), false);
+ }
+
protected List<String> debugSpecificVMArgs(RubyDebugTarget debugTarget) {
List<String> arguments = new ArrayList<String>();
if (!debugTarget.isUsingDefaultPort()) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|