From: stefanbjarni Date: Wed, 3 Aug 2005 22:17:29 +0000 (+0000) Subject: Patch from Anders Betn�- improve path mapping when remote debugging between systems... X-Git-Url: http://secure.phpeclipse.com Patch from Anders Betn�- improve path mapping when remote debugging between systems with different path segment separators. --- 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('/', '\\');