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;
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;
}
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 {