From: toshihiro Date: Fri, 17 Aug 2007 09:17:43 +0000 (+0000) Subject: Fixed: 1776098 - Cannot open source file from Breakpoints View X-Git-Url: http://git.phpeclipse.com Fixed: 1776098 - Cannot open source file from Breakpoints View --- 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..6bed7bf 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 @@ -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; }