mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 03:45:35 +02:00
More informative error messages.
This commit is contained in:
parent
18d9318d4d
commit
efd9131891
3 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-07-23 Mikhail Khodjaiants
|
||||||
|
More informative error messages.
|
||||||
|
* CDebugUIMessages.properties
|
||||||
|
* CDTDebugModelPresentation.java
|
||||||
|
|
||||||
2004-07-20 Mikhail Khodjaiants
|
2004-07-20 Mikhail Khodjaiants
|
||||||
Cleanup.
|
Cleanup.
|
||||||
* ErrorStatusHandler.java
|
* ErrorStatusHandler.java
|
||||||
|
|
|
@ -342,7 +342,7 @@ public class CDTDebugModelPresentation extends LabelProvider implements IDebugMo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch( DebugException e ) {
|
catch( DebugException e ) {
|
||||||
return CDebugUIMessages.getString( "CDTDebugModelPresentation.2" ); //$NON-NLS-1$
|
return MessageFormat.format( CDebugUIMessages.getString( "CDTDebugModelPresentation.2" ), new String[] { e.getMessage() } ); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
catch( CoreException e ) {
|
catch( CoreException e ) {
|
||||||
CDebugUIPlugin.log( e );
|
CDebugUIPlugin.log( e );
|
||||||
|
@ -771,7 +771,7 @@ public class CDTDebugModelPresentation extends LabelProvider implements IDebugMo
|
||||||
}
|
}
|
||||||
if ( type != null && (type.isPointer() || type.isReference()) )
|
if ( type != null && (type.isPointer() || type.isReference()) )
|
||||||
return fDebugImageRegistry.get( (((ICVariable)element).isEnabled()) ? CDebugImages.DESC_OBJS_VARIABLE_POINTER : CDebugImages.DESC_OBJS_VARIABLE_POINTER_DISABLED );
|
return fDebugImageRegistry.get( (((ICVariable)element).isEnabled()) ? CDebugImages.DESC_OBJS_VARIABLE_POINTER : CDebugImages.DESC_OBJS_VARIABLE_POINTER_DISABLED );
|
||||||
else if ( ((ICVariable)element).hasChildren() )
|
else if ( type != null && (type.isArray() || type.isStructure()) )
|
||||||
return fDebugImageRegistry.get( (((ICVariable)element).isEnabled()) ? CDebugImages.DESC_OBJS_VARIABLE_AGGREGATE : CDebugImages.DESC_OBJS_VARIABLE_AGGREGATE_DISABLED );
|
return fDebugImageRegistry.get( (((ICVariable)element).isEnabled()) ? CDebugImages.DESC_OBJS_VARIABLE_AGGREGATE : CDebugImages.DESC_OBJS_VARIABLE_AGGREGATE_DISABLED );
|
||||||
else
|
else
|
||||||
return fDebugImageRegistry.get( (((ICVariable)element).isEnabled()) ? CDebugImages.DESC_OBJS_VARIABLE_SIMPLE : CDebugImages.DESC_OBJS_VARIABLE_SIMPLE_DISABLED );
|
return fDebugImageRegistry.get( (((ICVariable)element).isEnabled()) ? CDebugImages.DESC_OBJS_VARIABLE_SIMPLE : CDebugImages.DESC_OBJS_VARIABLE_SIMPLE_DISABLED );
|
||||||
|
|
|
@ -14,7 +14,7 @@ CDebugImageDescriptorRegistry.0=Allocating image for wrong display.
|
||||||
CDebugModelPresentation.not_available_1=<not available>
|
CDebugModelPresentation.not_available_1=<not available>
|
||||||
CDTDebugModelPresentation.0=<terminated>
|
CDTDebugModelPresentation.0=<terminated>
|
||||||
CDTDebugModelPresentation.1=<disconnected>
|
CDTDebugModelPresentation.1=<disconnected>
|
||||||
CDTDebugModelPresentation.2=<not_responding>
|
CDTDebugModelPresentation.2=<not available: {0}>
|
||||||
CDTDebugModelPresentation.3={0} (Exited.{1})
|
CDTDebugModelPresentation.3={0} (Exited.{1})
|
||||||
CDTDebugModelPresentation.5=Signal ''{0}'' received. Description: {1}.
|
CDTDebugModelPresentation.5=Signal ''{0}'' received. Description: {1}.
|
||||||
CDTDebugModelPresentation.6=Exit code = {0}.
|
CDTDebugModelPresentation.6=Exit code = {0}.
|
||||||
|
|
Loading…
Add table
Reference in a new issue