From fcade0583469b29dc7611bce6c0b06ba16d7f8c4 Mon Sep 17 00:00:00 2001 From: robekras Date: Sun, 16 Oct 2005 18:13:16 +0000 Subject: [PATCH] 1) readVariables returns variables as a vector list. --- .../phpdt/internal/debug/core/PHPDBGProxy.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) 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) { -- 1.7.1