1) Fixed the Cross Plattform debugging bug. The path separator was not translated.
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.core / src / net / sourceforge / phpdt / internal / debug / core / PHPDBGProxy.java
index e09edcb..595d64d 100644 (file)
@@ -233,10 +233,10 @@ public class PHPDBGProxy {
 
                if (pathtranslation && remote) {
                        if (remoteSourcePath.toString ().substring (0, 1).equals ("/")) {
-                               path = path.replace ('\\', '/');
+                               path = path.replace ('/', '\\');
                        }
                        else {
-                               path = path.replace ('/', '\\');
+                               path = path.replace ('\\', '/');
                        }
                }