From e2c78c2770e882d7919719218028da4a60d1108e Mon Sep 17 00:00:00 2001 From: robekras Date: Mon, 24 Oct 2005 19:20:12 +0000 Subject: [PATCH 1/1] 1) Fixed the Cross Plattform debugging bug. The path separator was not translated. --- .../phpdt/internal/debug/core/PHPDBGProxy.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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 ('\\', '/'); } } -- 1.7.1