From: robekras Date: Sun, 16 Oct 2005 18:13:16 +0000 (+0000) Subject: 1) readVariables returns variables as a vector list. X-Git-Url: http://git.phpeclipse.com 1) readVariables returns variables as a vector list. --- diff --git a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDBGProxy.java b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDBGProxy.java index db66060..e09edcb 100644 --- a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDBGProxy.java +++ b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDBGProxy.java @@ -15,6 +15,7 @@ import java.net.ServerSocket; 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; @@ -367,9 +368,9 @@ public class PHPDBGProxy { * 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) {