Skip to content

Commit 45b3862

Browse files
pdeville2fedejeanne
authored andcommitted
Log exceptions thrown when creating launch configurations #2003
Both in the log file and in the Error Log view. Contributes to #2003 Signed-off-by: Pauline DEVILLE <[email protected]>
1 parent 2fe0e8d commit 45b3862

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/AbstractLaunchConfigurationAction.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2018 IBM Corporation and others.
2+
* Copyright (c) 2000, 2018, 2025 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -10,11 +10,13 @@
1010
*
1111
* Contributors:
1212
* IBM Corporation - initial API and implementation
13+
* Pauline DEVILLE - Issue 2003
1314
*******************************************************************************/
1415
package org.eclipse.debug.internal.ui.launchConfigurations;
1516

1617

1718
import org.eclipse.core.runtime.CoreException;
19+
import org.eclipse.debug.internal.ui.DebugUIPlugin;
1820
import org.eclipse.jface.dialogs.ErrorDialog;
1921
import org.eclipse.jface.viewers.Viewer;
2022
import org.eclipse.swt.custom.BusyIndicator;
@@ -128,6 +130,7 @@ public void dispose() {
128130
*/
129131
protected void errorDialog(CoreException exception) {
130132
ErrorDialog.openError(getShell(), null, null, exception.getStatus());
133+
DebugUIPlugin.log(exception);
131134
}
132135

133136
/**

0 commit comments

Comments
 (0)