X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugTarget.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugTarget.java index d032172..339cf1b 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugTarget.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/model/XDebugTarget.java @@ -248,7 +248,7 @@ public class XDebugTarget extends XDebugElement implements IDebugTarget, ILaunch */ public void breakpointAdded(IBreakpoint breakpoint) { IMarker marker = breakpoint.getMarker(); - IPath path = marker.getResource().getLocation(); + IPath path = marker.getResource().getFullPath(); IPath cp = path.removeLastSegments(1); List pathMap = null; try { @@ -743,9 +743,9 @@ public class XDebugTarget extends XDebugElement implements IDebugTarget, ILaunch String endfilename; if (getProcess() == null) { - endfilename = marker.getResource().getLocation().lastSegment(); + endfilename = marker.getResource().getFullPath().lastSegment(); } else { - endfilename = marker.getResource().getLocation().toOSString(); + endfilename = marker.getResource().getFullPath().toOSString(); } if(PHPDebugUtils.unescapeString(filename).endsWith(endfilename) && (lineBreakpoint.getLineNumber() == lineNumber) ) {