* Copyright (c) 2000, 2002 IBM Corp. and others. All rights reserved. This program and the accompanying materials are made
* available under the terms of the Common Public License v1.0 which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
- *
+ *
* Contributors: IBM Corporation - Initial implementation Vicente Fernando - www.alfersoft.com.ar Christian Perkonig - remote debug
**********************************************************************************************************************************/
package net.sourceforge.phpdt.internal.debug.core;
import java.util.Map;
import net.sourceforge.phpdt.internal.debug.core.breakpoints.PHPLineBreakpoint;
-import net.sourceforge.phpdt.internal.debug.core.model.IPHPDebugTarget;
+import net.sourceforge.phpdt.internal.debug.core.model.PHPDebugTarget;
import net.sourceforge.phpdt.internal.debug.core.model.PHPStackFrame;
import net.sourceforge.phpdt.internal.debug.core.model.PHPThread;
import net.sourceforge.phpdt.internal.debug.core.model.PHPVariable;
private PHPDBGInterface DBGInt = null;
- private IPHPDebugTarget debugTarget = null;
+ private PHPDebugTarget debugTarget = null;
private PHPLoop phpLoop;
private boolean remote;
private boolean pathtranslation;
-
+
private Map pathmap;
-
+
private IPath remoteSourcePath;
public PHPDBGProxy() {
}
return path;
}
-
+
public void addBreakpoint(IBreakpoint breakpoint) {
if (DBGInt == null)
return;
if (null != DBGInt)
DBGInt.pauseExecution();
else {
- // TODO Make sure the Suspend action is grayed out
+ // TODO Make sure the Suspend action is grayed out
// when DBGInt is null
}
} catch (IOException e) {
}
}
- protected IPHPDebugTarget getDebugTarget() {
+ protected PHPDebugTarget getDebugTarget() {
return debugTarget;
}
- public void setDebugTarget(IPHPDebugTarget debugTarget) {
+ public void setDebugTarget(PHPDebugTarget debugTarget) {
this.debugTarget = debugTarget;
debugTarget.setPHPDBGProxy(this);
}
public synchronized void setShouldStop() {
shouldStop = true;
try {
- // If the loop thread is blocked on the server socket,
- // forcibly unblock it to avoid leaking the thread,
+ // If the loop thread is blocked on the server socket,
+ // forcibly unblock it to avoid leaking the thread,
// the socket and the port
closeServerSocket();
} catch (IOException x) {