diff --git a/debug/org.eclipse.cdt.debug.ui/ChangeLog b/debug/org.eclipse.cdt.debug.ui/ChangeLog index 412147d73a4..91b32191b9d 100644 --- a/debug/org.eclipse.cdt.debug.ui/ChangeLog +++ b/debug/org.eclipse.cdt.debug.ui/ChangeLog @@ -1,3 +1,7 @@ +2003-03-25 Mikhail Khodjaiants + Added the 'logErrorMessage' static method to the 'CDebugUIPlugin' class. + * CDebugUIPlugin.java + 2003-03-18 Mikhail Khodjaiants Removed the gdb-specific variable parsing. * VariableFormatActionDelegate.java 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 89dae8f1625..5505da4c610 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 @@ -185,8 +185,9 @@ public class CDebugUIPlugin extends AbstractUIPlugin * * @param status status to log */ - public static void log(IStatus status) { - getDefault().getLog().log(status); + public static void log( IStatus status ) + { + getDefault().getLog().log( status ); } /** @@ -199,6 +200,16 @@ public class CDebugUIPlugin extends AbstractUIPlugin log( new Status( IStatus.ERROR, getUniqueIdentifier(), ICDebugUIConstants.INTERNAL_ERROR, "Internal Error", e ) ); } + /** + * Logs an internal error with the specified message. + * + * @param message the error message to log + */ + public static void logErrorMessage( String message ) + { + log( new Status( IStatus.ERROR, getUniqueIdentifier(), ICDebugUIConstants.INTERNAL_ERROR, message, null ) ); + } + public ILaunchConfigurationTab getDebuggerPage(String debuggerID) { if (fDebuggerPageMap == null) { initializeDebuggerPageMap();