1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 09:55:29 +02:00

Bug 139203: "if" and "at" translateable? #71.

This commit is contained in:
Mikhail Khodjaiants 2007-02-06 11:35:37 +00:00
parent f00c9c220e
commit 8206c94423
4 changed files with 4 additions and 12 deletions

View file

@ -400,9 +400,7 @@ public class CDebugUtils {
String condition = breakpoint.getCondition();
if ( condition != null && condition.length() > 0 ) {
buffer.append( ' ' );
buffer.append( DebugCoreMessages.getString( "CDebugUtils.4" ) ); //$NON-NLS-1$
buffer.append( ' ' );
buffer.append( condition );
buffer.append( MessageFormat.format( DebugCoreMessages.getString( "CDebugUtils.4" ), new String[] { condition } ) ); //$NON-NLS-1$
}
}
@ -410,10 +408,7 @@ public class CDebugUtils {
String expression = watchpoint.getExpression();
if ( expression != null && expression.length() > 0 ) {
label.append( ' ' );
label.append( DebugCoreMessages.getString( "CDebugUtils.5" ) ); //$NON-NLS-1$
label.append( " \'" ); //$NON-NLS-1$
label.append( expression );
label.append( '\'' );
label.append( MessageFormat.format( DebugCoreMessages.getString( "CDebugUtils.5" ), new String[] { expression } ) ); //$NON-NLS-1$
}
}

View file

@ -13,6 +13,6 @@ CDebugUtils.0=[line: {0}]
CDebugUtils.1=[address: {0}]
CDebugUtils.2=[function: {0}]
CDebugUtils.3=[ignore count: {0}]
CDebugUtils.4=if
CDebugUtils.5=at
CDebugUtils.4=[condition: {0}]
CDebugUtils.5=[expression: ''{0}'']
CDIDebugModel.0=Unable to parser binary information from file

View file

@ -759,8 +759,6 @@ public class CDebugModelPresentation extends LabelProvider implements IDebugMode
if ( frame.getFile() != null ) {
IPath path = new Path( frame.getFile() );
if ( !path.isEmpty() ) {
label.append( CDebugUIMessages.getString( "CDTDebugModelPresentation.20" ) ); //$NON-NLS-1$
label.append( ' ' );
label.append( (qualified ? path.toOSString() : path.lastSegment()) );
label.append( ':' );
if ( frame.getFrameLineNumber() != 0 )

View file

@ -32,7 +32,6 @@ CDTDebugModelPresentation.17=: Shared library event.
CDTDebugModelPresentation.18=Thread [{0}] (Suspended{1})
CDTDebugModelPresentation.19=Thread [{0}]
CDTDebugModelPresentation.12=signal
CDTDebugModelPresentation.20=at
CDTDebugModelPresentation.21=<symbol is not available>
CDTDebugModelPresentation.22=(disabled)
CDTDebugModelPresentation.23=Infinity