1) Moved the hasRecursion and the updateVariableList to PHPStackframe class.
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / model / PHPDebugTarget.java
index 887cee3..1d11803 100644 (file)
@@ -35,7 +35,7 @@ import org.eclipse.ui.model.IWorkbenchAdapter;
 /**
  * Debug target for PHP debug model.
  */
-public class PHPDebugTarget implements IPHPDebugTarget, ILaunchListener,
+public class PHPDebugTarget extends PHPDebugElement implements IPHPDebugTarget, ILaunchListener,
                IDebugEventSetListener {
 
        private IProcess process;
@@ -73,6 +73,7 @@ public class PHPDebugTarget implements IPHPDebugTarget, ILaunchListener,
        private final State state = new State();
 
        public PHPDebugTarget(ILaunch launch, IProcess process) {
+               super (null);
                if (null == launch && null == process)
                        throw new IllegalArgumentException();
                this.launch = launch;
@@ -249,7 +250,7 @@ public class PHPDebugTarget implements IPHPDebugTarget, ILaunchListener,
                } catch (CoreException e) {
                        // Do nothing
                }
-       }       
+       }
 
        public boolean canDisconnect() {
                return false;
@@ -352,7 +353,7 @@ public class PHPDebugTarget implements IPHPDebugTarget, ILaunchListener,
 
        /**
         * When a debug target or process terminates, terminate DBG Proxy.
-        * 
+        *
         * @see IDebugEventSetListener#handleDebugEvents(DebugEvent[])
         */
        public void handleDebugEvents(DebugEvent[] events) {