debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AbstractSymbianLaunchShortcut.java
equal
deleted
inserted
replaced
66 |
66 |
67 public void launch(ISelection selection, String mode) { |
67 public void launch(ISelection selection, String mode) { |
68 |
68 |
69 // launch an existing config if one exists |
69 // launch an existing config if one exists |
70 ILaunchConfiguration[] configs = getLaunchConfigurations(selection); |
70 ILaunchConfiguration[] configs = getLaunchConfigurations(selection); |
71 if (configs.length > 0) { |
71 if (configs != null && configs.length > 0) { |
72 // find all the ones that support the mode and shortcut (#11013) |
72 // find all the ones that support the mode and shortcut (#11013) |
73 List<ILaunchConfiguration> matches = new ArrayList<ILaunchConfiguration>(); |
73 List<ILaunchConfiguration> matches = new ArrayList<ILaunchConfiguration>(); |
74 for (int i = 0; i < configs.length; i++) { |
74 for (int i = 0; i < configs.length; i++) { |
75 ILaunchConfiguration config = configs[i]; |
75 ILaunchConfiguration config = configs[i]; |
76 try { |
76 try { |