Patch from Anders Betn�- enable changing breakpoints while debugging.
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / PHPDBGProxy.java
index 2926870..4f665aa 100644 (file)
@@ -171,7 +171,7 @@ public class PHPDBGProxy {
                        }
                }
                if (pathtranslation && remote) {
-                       if (path.substring(0, 1).equals("/"))
+                       if (remoteSourcePath.toString().substring(0, 1).equals("/"))
                                path = path.replace('\\', '/');
                        else
                                path = path.replace('/', '\\');