X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/InterpreterRunnerConfiguration.java b/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/InterpreterRunnerConfiguration.java index b2950d7..cd25d13 100644 --- a/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/InterpreterRunnerConfiguration.java +++ b/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/InterpreterRunnerConfiguration.java @@ -103,6 +103,24 @@ public class InterpreterRunnerConfiguration { return false; } + public boolean usePathTranslation() { + try { + return configuration.getAttribute(PHPLaunchConfigurationAttribute.REMOTE_DEBUG_TRANSLATE, false); + } catch(CoreException e) { + PHPLaunchingPlugin.log(e); + } + return false; + } + + public Map getPathMap() { + try { + return configuration.getAttribute(PHPLaunchConfigurationAttribute.FILE_MAP, (Map) null); + } catch(CoreException e) { + PHPLaunchingPlugin.log(e); + } + return (Map) null; + } + public boolean useDBGSessionInBrowser() { try { return configuration.getAttribute(PHPLaunchConfigurationAttribute.OPEN_DBGSESSION_IN_BROWSER, true); @@ -156,7 +174,7 @@ public class InterpreterRunnerConfiguration { public String getRemoteSourcePath() { IProject project = getProject().getProject(); - if (useRemoteDebugger()) + if (!useRemoteDebugger()) return project.getLocation().toOSString(); else {