mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 333504 - [remote launch] NPE after switching to "Standard Launcher" in Remote Application debug configuration
This commit is contained in:
parent
92c3c8638f
commit
94e6baa3f7
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2010 Nokia Corporation and others.
|
* Copyright (c) 2010, 2011 Nokia Corporation and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -8,7 +8,8 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Ken Ryall (Nokia) - initial API and implementation
|
* Ken Ryall (Nokia) - initial API and implementation
|
||||||
* IBM Corporation
|
* IBM Corporation
|
||||||
* Alex Collins (Broadcom Corp.) - choose build config automatically
|
* Alex Collins (Broadcom Corp.) - choose build config automatically
|
||||||
|
* Anna Dushistova (Mentor Graphics) - [333504] [remote launch] NPE after switching to "Standard Launcher" in Remote Application debug configuration
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.launch.ui;
|
package org.eclipse.cdt.launch.ui;
|
||||||
|
|
||||||
|
@ -583,7 +584,7 @@ public abstract class CAbstractMainTab extends CLaunchConfigurationTab {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected void updateLaunchConfigurationDialog() {
|
protected void updateLaunchConfigurationDialog() {
|
||||||
if (fBuildConfigAuto.getSelection())
|
if (fBuildConfigAuto != null && fBuildConfigAuto.getSelection())
|
||||||
updateBuildConfigCombo(EMPTY_STRING);
|
updateBuildConfigCombo(EMPTY_STRING);
|
||||||
super.updateLaunchConfigurationDialog();
|
super.updateLaunchConfigurationDialog();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue