mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Bug 530053 - Launching locally after Container launch doesn't work
- fix other way round, launching locally, then in Container - add null check for connectionURI in Docker LaunchShort when searching launch configs in case there is a local configuration in the list Change-Id: I08f89a9d1dccff3ace54667e86e9d3e8840f8694
This commit is contained in:
parent
573af6187b
commit
64154f20f2
1 changed files with 2 additions and 1 deletions
|
@ -299,7 +299,8 @@ public class LaunchShortcut implements ILaunchShortcut {
|
|||
// if we have an active configuration with container
|
||||
// build properties, make sure they match, otherwise
|
||||
// add the launch config as a candidate
|
||||
if (connectionUri.equals(config.getAttribute(
|
||||
if (connectionUri != null
|
||||
&& connectionUri.equals(config.getAttribute(
|
||||
ILaunchConstants.ATTR_CONNECTION_URI,
|
||||
connectionUri))) {
|
||||
if (imageName.equals(config.getAttribute(
|
||||
|
|
Loading…
Add table
Reference in a new issue