diff --git a/debug/org.eclipse.cdt.debug.ui/ChangeLog b/debug/org.eclipse.cdt.debug.ui/ChangeLog index 75d053baaf6..b53c5c256c7 100644 --- a/debug/org.eclipse.cdt.debug.ui/ChangeLog +++ b/debug/org.eclipse.cdt.debug.ui/ChangeLog @@ -1,3 +1,6 @@ +2003-10-17 Mikhail Khodjaiants + * CDebugEditor.java: changed the message displayed when the source file not found. + 2003-10-14 Mikhail Khodjaiants * DebugTextHover.java: check if the result of 'evaluateExpression' is not null before trim it. diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java index f5da1d06294..43ff059020f 100644 --- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/editors/CDebugEditor.java @@ -287,15 +287,7 @@ public class CDebugEditor extends CEditor { FileNotFoundElement element = (FileNotFoundElement)input.getAdapter( FileNotFoundElement.class ); if ( element != null ) - { - IPath path = element.getFullPath(); - String message = ""; - if ( path.isAbsolute() ) - message = MessageFormat.format( "The file ''{0}'' does not exist.", new String[] { element.getFullPath().toOSString() } ); - else - message = MessageFormat.format( "The file ''{0}'' not found.", new String[] { element.getFullPath().toOSString() } ); - fInputLabel.setText( message ); - } + fInputLabel.setText( MessageFormat.format( "The debugger can not find the file ''{0}''.", new String[] { element.getFullPath().toOSString() } ) ); } protected ScrolledComposite getScrolledComposite()