From 59ab26889c1bd5cb9546a4f6dce645274a125fef Mon Sep 17 00:00:00 2001 From: axelcl Date: Tue, 4 Oct 2005 18:49:53 +0000 Subject: [PATCH] Patches from user robekras to show the variables view --- .../internal/debug/core/model/PHPStackFrame.java | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPStackFrame.java b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPStackFrame.java index 380e0a7..b49de4e 100644 --- a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPStackFrame.java +++ b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/model/PHPStackFrame.java @@ -23,7 +23,7 @@ import org.eclipse.debug.core.model.IStackFrame; import org.eclipse.debug.core.model.IThread; import org.eclipse.debug.core.model.IVariable; -public class PHPStackFrame implements IStackFrame { +public class PHPStackFrame extends PHPDebugElement implements IStackFrame { private PHPThread thread; private String file; @@ -34,6 +34,7 @@ public class PHPStackFrame implements IStackFrame { private String description; public PHPStackFrame(PHPThread thread, String file, int line, int index, String desc, int modno) { + super (null); this.lineNumber = line; this.index = index; this.file = file; @@ -43,6 +44,7 @@ public class PHPStackFrame implements IStackFrame { } public PHPStackFrame(PHPThread thread, String file, int line, int index) { + super (null); this.lineNumber = line; this.index = index; this.file = file; @@ -205,13 +207,6 @@ public class PHPStackFrame implements IStackFrame { getPHPDBGProxy().stop(); } - public Object getAdapter(Class arg0) { - if (arg0==PHPStackFrame.class) - return this; - else - return null; - } - public int getIndex() { return index; } -- 1.7.1