import org.eclipse.core.resources.IMarkerDelta;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.Path;
import org.eclipse.debug.core.DebugEvent;
import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.DebugPlugin;
hitCount = Integer.parseInt(attribute.getNodeValue());
}
}
-
- if(PHPDebugUtils.unescapeString(filename).endsWith(endfilename)
+
+ Path path1 = new Path (PHPDebugUtils.unescapeString (filename));
+ Path path2 = new Path (endfilename);
+
+ if (path1.toString ().endsWith (path2.toString ())
+// if (strPath1.endsWith (strPath2)
+ //if(PHPDebugUtils.unescapeString(filename).endsWith(endfilename)
&& (lineBreakpoint.getLineNumber() == lineNumber) ) {
if (marker.getAttribute(XDebugLineBreakpoint.HIT_COUNT, 0) > 0) {
if (marker.getAttribute(XDebugLineBreakpoint.HIT_COUNT, 0) == hitCount) {