debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/AbstractSymbianLaunchShortcut.java
branchRCL_2_4
changeset 1254 0e45b6356eac
parent 1168 8e38fdef1cea
equal deleted inserted replaced
1252:174c8b7f4dff 1254:0e45b6356eac
    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 {