import java.net.Socket;
import java.net.SocketTimeoutException;
import java.util.Map;
+import java.util.Vector;
import net.sourceforge.phpdt.internal.debug.core.breakpoints.PHPLineBreakpoint;
import net.sourceforge.phpdt.internal.debug.core.model.PHPDebugTarget;
if (pathtranslation && remote) {
if (remoteSourcePath.toString ().substring (0, 1).equals ("/")) {
- path = path.replace ('\\', '/');
+ path = path.replace ('/', '\\');
}
else {
- path = path.replace ('/', '\\');
+ path = path.replace ('\\', '/');
}
}
* It reads the variables from PHP via DBG
*
* @param frame The stackframe which wants the variables.
- * @return The array of variables for this stackframe.
+ * @return The list of variables for this stackframe.
*/
- public PHPVariable[] readVariables (PHPStackFrame frame) {
+ public Vector readVariables (PHPStackFrame frame) {
try {
return DBGInt.getVariables (frame); // Get the variables from DBG interface
} catch (IOException ioex) {