1) Fixed the Cross Plattform debugging bug. The path separator was not translated.
authorrobekras <robekras>
Mon, 24 Oct 2005 19:20:12 +0000 (19:20 +0000)
committerrobekras <robekras>
Mon, 24 Oct 2005 19:20:12 +0000 (19:20 +0000)
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 ('\\', '/');
                        }
                }