X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugModelPresentation.java b/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugModelPresentation.java index 866fab9..7a86414 100644 --- a/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugModelPresentation.java +++ b/net.sourceforge.phpeclipse.debug.ui/src/net/sourceforge/phpdt/internal/debug/ui/PHPDebugModelPresentation.java @@ -23,7 +23,7 @@ import net.sourceforge.phpdt.internal.debug.core.model.PHPVariable; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IMarker; import org.eclipse.core.runtime.CoreException; -import org.eclipse.debug.core.DebugPlugin; +//import org.eclipse.debug.core.DebugPlugin; import org.eclipse.debug.core.model.IBreakpoint; import org.eclipse.debug.core.model.IValue; import org.eclipse.debug.ui.DebugUITools; @@ -82,8 +82,10 @@ public class PHPDebugModelPresentation extends LabelProvider implements if (item instanceof PHPLineBreakpoint) { IBreakpoint bp = (IBreakpoint) item; IMarker ma = bp.getMarker(); + //IFile eclipseFile = PHPDebugUiPlugin.getWorkspace().getRoot() + // .getFileForLocation(ma.getResource().getLocation()); IFile eclipseFile = PHPDebugUiPlugin.getWorkspace().getRoot() - .getFileForLocation(ma.getResource().getLocation()); + .getFile(ma.getResource().getFullPath()); if (eclipseFile == null) { return null; } @@ -154,10 +156,10 @@ public class PHPDebugModelPresentation extends LabelProvider implements return; } - protected IBreakpoint getBreakpoint(IMarker marker) { - return DebugPlugin.getDefault().getBreakpointManager().getBreakpoint( - marker); - } +// protected IBreakpoint getBreakpoint(IMarker marker) { +// return DebugPlugin.getDefault().getBreakpointManager().getBreakpoint( +// marker); +// } protected String getBreakpointText(IBreakpoint breakpoint) throws CoreException {