From 15eb793189fdf8ee6c261329e27d9d99b540e7de Mon Sep 17 00:00:00 2001 From: robekras Date: Mon, 2 Jan 2012 19:59:48 +0000 Subject: [PATCH] 1) Introduced a warning log message for breakpoints that do not match the local path. Should make it easier for user to see what's wrong. --- .../phpeclipse/xdebug/php/model/XDebugTarget.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) 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 ad0d7a6..396b317 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 @@ -24,6 +24,7 @@ import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IMarkerDelta; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPath; +import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Path; import org.eclipse.debug.core.DebugEvent; import org.eclipse.debug.core.DebugException; @@ -348,6 +349,9 @@ public class XDebugTarget extends XDebugElement implements IDebugTarget, IDebugE } } } + else { + XDebugCorePlugin.log (IStatus.WARNING, "path do not match: local path: " + local.toString () + " breakpoint file: " + path.toString ()); + } } } } -- 1.7.1