mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-28 19:35:36 +02:00
Added the 'logErrorMessage' static method to the 'CDebugUIPlugin' class.
This commit is contained in:
parent
717cbc2041
commit
a9d89b0eee
2 changed files with 17 additions and 2 deletions
|
@ -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
|
2003-03-18 Mikhail Khodjaiants
|
||||||
Removed the gdb-specific variable parsing.
|
Removed the gdb-specific variable parsing.
|
||||||
* VariableFormatActionDelegate.java
|
* VariableFormatActionDelegate.java
|
||||||
|
|
|
@ -185,7 +185,8 @@ public class CDebugUIPlugin extends AbstractUIPlugin
|
||||||
*
|
*
|
||||||
* @param status status to log
|
* @param status status to log
|
||||||
*/
|
*/
|
||||||
public static void log(IStatus status) {
|
public static void log( IStatus status )
|
||||||
|
{
|
||||||
getDefault().getLog().log( 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 ) );
|
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) {
|
public ILaunchConfigurationTab getDebuggerPage(String debuggerID) {
|
||||||
if (fDebuggerPageMap == null) {
|
if (fDebuggerPageMap == null) {
|
||||||
initializeDebuggerPageMap();
|
initializeDebuggerPageMap();
|
||||||
|
|
Loading…
Add table
Reference in a new issue