Patch from Anders Betn�- improve path mapping when remote debugging between systems...
authorstefanbjarni <stefanbjarni>
Wed, 3 Aug 2005 22:17:29 +0000 (22:17 +0000)
committerstefanbjarni <stefanbjarni>
Wed, 3 Aug 2005 22:17:29 +0000 (22:17 +0000)
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('/', '\\');