|
From: Markus B. <mba...@us...> - 2005-10-09 21:22:17
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1010/src/org/rubypeople/rdt/internal/debug/core Modified Files: RdtDebugCorePlugin.java RubyDebuggerProxy.java Log Message: fixed port 1098 replaced by variable port Index: RubyDebuggerProxy.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/RubyDebuggerProxy.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** RubyDebuggerProxy.java 6 Oct 2005 23:29:49 -0000 1.18 --- RubyDebuggerProxy.java 9 Oct 2005 21:22:08 -0000 1.19 *************** *** 40,44 **** public RubyDebuggerProxy(IRubyDebugTarget debugTarget) { this.debugTarget = debugTarget; ! debugTarget.setRubyDebuggerProxy(this); } --- 40,44 ---- public RubyDebuggerProxy(IRubyDebugTarget debugTarget) { this.debugTarget = debugTarget; ! debugTarget.setRubyDebuggerProxy(this); } *************** *** 74,78 **** for (int i = 0; i < tryCount; i++) { try { ! socket = new Socket("localhost", 1098); return socket; } catch (IOException e) { --- 74,78 ---- for (int i = 0; i < tryCount; i++) { try { ! socket = new Socket("localhost", debugTarget.getPort()); return socket; } catch (IOException e) { Index: RdtDebugCorePlugin.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.core/src/org/rubypeople/rdt/internal/debug/core/RdtDebugCorePlugin.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** RdtDebugCorePlugin.java 2 Mar 2005 00:54:35 -0000 1.6 --- RdtDebugCorePlugin.java 9 Oct 2005 21:22:08 -0000 1.7 *************** *** 42,45 **** --- 42,49 ---- RdtDebugCorePlugin.log(status); } + + public static void log(String message, Throwable e) { + log(new Status(IStatus.ERROR, PLUGIN_ID, IStatus.ERROR, message, e)); + } public static void log(IStatus status) { |