From: robekras Date: Mon, 24 Oct 2005 19:20:12 +0000 (+0000) Subject: 1) Fixed the Cross Plattform debugging bug. The path separator was not translated. X-Git-Url: http://secure.phpeclipse.com 1) Fixed the Cross Plattform debugging bug. The path separator was not translated. --- diff --git a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDBGProxy.java b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDBGProxy.java index e09edcb..595d64d 100644 --- a/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDBGProxy.java +++ b/net.sourceforge.phpeclipse.debug.core/src/net/sourceforge/phpdt/internal/debug/core/PHPDBGProxy.java @@ -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 ('\\', '/'); } }