From d3c623892b191b223323571b204551c2e22bcc2e Mon Sep 17 00:00:00 2001 From: stefanbjarni Date: Wed, 3 Aug 2005 22:17:29 +0000 Subject: [PATCH 1/1] =?utf8?q?Patch=20from=20Anders=20Betn=EF=BF=BD-=20improve=20path=20mapping=20when=20remote=20debugging=20between=20systems=20with=20different=20path=20segment=20separators.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../phpdt/internal/debug/core/PHPDBGProxy.java | 2 +- 1 files changed, 1 insertions(+), 1 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 2926870..4f665aa 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 @@ -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('/', '\\'); -- 1.7.1