We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you do the sequence (run or debug).
In step 4., we should reuse the config in step 2., but we don't.
The text was updated successfully, but these errors were encountered:
OK..the problem is the last line here in LaunchConfigurationHelper:
public ILaunchConfiguration getLaunchConfiguration(IProject iProject, String mode, RuntimeEnv runtimeEnv) throws Exception { DevModeOperations devModeOps = DevModeOperations.getInstance(); ILaunchConfiguration configuration = null; ILaunchManager iLaunchMgr = DebugPlugin.getDefault().getLaunchManager(); ILaunchConfigurationType iLaunchConfigType = iLaunchMgr .getLaunchConfigurationType(LaunchConfigurationDelegateLauncher.LAUNCH_CONFIG_TYPE_ID); // Find the set of configurations that were used by the currently active project last. ILaunchConfiguration[] existingConfigs = iLaunchMgr.getLaunchConfigurations(iLaunchConfigType); List<ILaunchConfiguration> matchingConfigList = filterLaunchConfigurations(existingConfigs, iProject.getName(), runtimeEnv); switch (matchingConfigList.size()) { case 0: // Create a new configuration. String newName = iLaunchMgr.generateLaunchConfigurationName(iProject.getName()); ILaunchConfigurationWorkingCopy workingCopy = iLaunchConfigType.newInstance(null, newName); workingCopy.setAttribute(StartTab.PROJECT_NAME, iProject.getName()); workingCopy.setAttribute(StartTab.PROJECT_START_PARM, devModeOps.getProjectModel().getDefaultStartParameters(iProject)); workingCopy.setAttribute(StartTab.PROJECT_RUN_IN_CONTAINER, false);
It shouldn't set that last attribute to 'false', but rather should use the value from the current request (is it a dev or a devc?).
We should also look at our tests to understand why this wasn't caught.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
If you do the sequence (run or debug).
In step 4., we should reuse the config in step 2., but we don't.
The text was updated successfully, but these errors were encountered: