Fix for ticket #358 Interpreter Tab in Mac OSX from mbowie testing and confirming...
[phpeclipse.git] / net.sourceforge.phpeclipse.debug.ui / src / net / sourceforge / phpdt / internal / debug / ui / launcher / PHPEnvironmentTab.java
index cd7ae8f..c51906a 100644 (file)
@@ -153,8 +153,8 @@ public class PHPEnvironmentTab extends AbstractLaunchConfigurationTab {
                tabFolder.setLayoutData(gridData);
 
                // addLoadPathTab(tabFolder);
-               addInterpreterTab(tabFolder);
                addRemoteDebugTab(tabFolder);
+               addInterpreterTab(tabFolder);
        }
 
        protected void addRemoteDebugTab(TabFolder tabFolder) {
@@ -574,7 +574,7 @@ public class PHPEnvironmentTab extends AbstractLaunchConfigurationTab {
                                IProject project = ResourcesPlugin.getWorkspace().getRoot()
                                                .getProject(projectName);
                                if (project != null) {
-                                       IPath remotePath = project.getLocation();
+                                       IPath remotePath = project.getFullPath();
                                        String fileName = configuration.getAttribute(
                                                        PHPLaunchConfigurationAttribute.FILE_NAME, "");
                                        if (fileName != "") {