mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Changed the error message for 'switch to stack frame'.
This commit is contained in:
parent
7c4114a401
commit
dbba92a00a
1 changed files with 2 additions and 2 deletions
|
@ -242,7 +242,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen
|
||||||
Shell shell = getActiveWorkbenchShell();
|
Shell shell = getActiveWorkbenchShell();
|
||||||
if ( shell != null )
|
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 );
|
ErrorDialog.openError( shell, "Error", message, status );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -372,7 +372,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin implements ISelectionListen
|
||||||
}
|
}
|
||||||
catch( DebugException e )
|
catch( DebugException e )
|
||||||
{
|
{
|
||||||
errorDialog( e.getMessage(), e );
|
errorDialog( "Switch to stack frame failed.", e );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue