mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 17:55:39 +02:00
Bugzilla 293812.
This commit is contained in:
parent
dc414097e3
commit
1a93930f72
2 changed files with 8 additions and 1 deletions
|
@ -34,7 +34,9 @@ import org.eclipse.debug.core.model.IMemoryBlockExtension;
|
||||||
import org.eclipse.debug.core.model.IMemoryBlockRetrieval;
|
import org.eclipse.debug.core.model.IMemoryBlockRetrieval;
|
||||||
import org.eclipse.debug.core.model.IMemoryBlockRetrievalExtension;
|
import org.eclipse.debug.core.model.IMemoryBlockRetrievalExtension;
|
||||||
import org.eclipse.debug.core.model.MemoryByte;
|
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.memory.MemoryRenderingManager;
|
||||||
|
import org.eclipse.debug.internal.ui.views.memory.MemoryViewUtil;
|
||||||
import org.eclipse.debug.ui.DebugUITools;
|
import org.eclipse.debug.ui.DebugUITools;
|
||||||
import org.eclipse.debug.ui.contexts.DebugContextEvent;
|
import org.eclipse.debug.ui.contexts.DebugContextEvent;
|
||||||
import org.eclipse.debug.ui.contexts.IDebugContextListener;
|
import org.eclipse.debug.ui.contexts.IDebugContextListener;
|
||||||
|
@ -339,7 +341,7 @@ public class MemoryBrowser extends ViewPart implements IDebugContextListener, IL
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (DebugException e1) {
|
} 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();
|
}.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)
|
private void updateLabel(CTabItem tab, IMemoryRendering rendering)
|
||||||
{
|
{
|
||||||
String label = null;
|
String label = null;
|
||||||
|
|
|
@ -14,3 +14,5 @@ GoToAddressBarWidget.Go=Go
|
||||||
GoToAddressBarWidget.NewTab=New Tab
|
GoToAddressBarWidget.NewTab=New Tab
|
||||||
GoToAddressBarWidget.NewTab=New Tab
|
GoToAddressBarWidget.NewTab=New Tab
|
||||||
MemoryBrowser.DefaultRendering=Default Rendering
|
MemoryBrowser.DefaultRendering=Default Rendering
|
||||||
|
MemoryBrowser.FailedToGoToAddressTitle=Unable to Go To specified address
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue