From dbba92a00a8b4668c7ef4d03220fb68aadc652b2 Mon Sep 17 00:00:00 2001 From: Mikhail Khodjaiants Date: Thu, 26 Sep 2002 17:45:34 +0000 Subject: [PATCH] Changed the error message for 'switch to stack frame'. --- .../src/org/eclipse/cdt/debug/ui/CDebugUIPlugin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } } }