|
From: Markus B. <mba...@us...> - 2005-09-16 20:53:12
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.core.tests/src/org/rubypeople/rdt/debug/core/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14646/src/org/rubypeople/rdt/debug/core/tests Modified Files: TC_DebuggerCommunicationTest.java Log Message: call RubyCore.getOSDirectory for creating the includeDir if eclipse runs, more useful RuntimeExceptions in case of an error in the ruby process Index: TC_DebuggerCommunicationTest.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.debug.core.tests/src/org/rubypeople/rdt/debug/core/tests/TC_DebuggerCommunicationTest.java,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** TC_DebuggerCommunicationTest.java 13 Jul 2005 14:26:28 -0000 1.31 --- TC_DebuggerCommunicationTest.java 16 Sep 2005 20:53:04 -0000 1.32 *************** *** 5,12 **** --- 5,14 ---- import java.io.InputStreamReader; import java.io.PrintWriter; + import java.net.ConnectException; import java.net.Socket; import junit.framework.TestCase; + import org.rubypeople.rdt.core.RubyCore; import org.rubypeople.rdt.internal.debug.core.ExceptionSuspensionPoint; [...1255 lines suppressed...] *** 943,947 **** runToLine(3) ; runToLine(4) ; ! out.println("v local") ; localVariables = getVariableReader().readVariables(createStackFrame()); assertEquals("8", localVariables[0].getValue().getValueString()); --- 962,966 ---- runToLine(3) ; runToLine(4) ; ! sendRuby("v local") ; localVariables = getVariableReader().readVariables(createStackFrame()); assertEquals("8", localVariables[0].getValue().getValueString()); *************** *** 949,951 **** --- 968,972 ---- + } + |