1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 17:25:38 +02:00

Bugzilla 293812.

This commit is contained in:
Randy Rohrbach 2009-10-30 19:07:41 +00:00
parent dc414097e3
commit 1a93930f72
2 changed files with 8 additions and 1 deletions

View file

@ -34,7 +34,9 @@ import org.eclipse.debug.core.model.IMemoryBlockExtension;
import org.eclipse.debug.core.model.IMemoryBlockRetrieval;
import org.eclipse.debug.core.model.IMemoryBlockRetrievalExtension;
import org.eclipse.debug.core.model.MemoryByte;
import org.eclipse.debug.internal.ui.DebugUIMessages;
import org.eclipse.debug.internal.ui.memory.MemoryRenderingManager;
import org.eclipse.debug.internal.ui.views.memory.MemoryViewUtil;
import org.eclipse.debug.ui.DebugUITools;
import org.eclipse.debug.ui.contexts.DebugContextEvent;
import org.eclipse.debug.ui.contexts.IDebugContextListener;
@ -339,7 +341,7 @@ public class MemoryBrowser extends ViewPart implements IDebugContextListener, IL
}
});
} catch (DebugException e1) {
MemoryBrowserPlugin.getDefault().getLog().log(new Status(Status.ERROR, MemoryBrowserPlugin.PLUGIN_ID, "", e1)); //$NON-NLS-1$
MemoryViewUtil.openError(Messages.getString("MemoryBrowser.FailedToGoToAddressTitle"), "", e1); //$NON-NLS-1$
}
}
}.start();
@ -347,6 +349,9 @@ public class MemoryBrowser extends ViewPart implements IDebugContextListener, IL
}
}
// MemoryBrowser.FailedToGoToAddressTitle=Unable to Go To specified address
// MemoryBrowser.UnableToEvaluateAddress
private void updateLabel(CTabItem tab, IMemoryRendering rendering)
{
String label = null;

View file

@ -14,3 +14,5 @@ GoToAddressBarWidget.Go=Go
GoToAddressBarWidget.NewTab=New Tab
GoToAddressBarWidget.NewTab=New Tab
MemoryBrowser.DefaultRendering=Default Rendering
MemoryBrowser.FailedToGoToAddressTitle=Unable to Go To specified address