diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java index 2db67993f07..4dd6061a1cd 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java @@ -242,7 +242,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen Shell shell = getActiveWorkbenchShell(); if ( shell != null ) { - IStatus status = new Status( IStatus.ERROR, getUniqueIdentifier(), ICDebugUIConstants.INTERNAL_ERROR, "Error logged from CDT Debug UI: ", t ); //$NON-NLS-1$ + IStatus status = new Status( IStatus.ERROR, getUniqueIdentifier(), ICDebugUIConstants.INTERNAL_ERROR, t.getMessage(), null ); //$NON-NLS-1$ ErrorDialog.openError( shell, "Error", message, status ); } } @@ -372,7 +372,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen } catch( DebugException e ) { - errorDialog( e.getMessage(), e ); + errorDialog( "Switch to stack frame failed.", e ); } } }