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

Bug 474050 - [memory] Add the context menu option "Add Watchpoint

(C/C++)" to the Memory Browser view

Change-Id: I56887ed783b527a72ba74d5f3776d5adcc42ece9
This commit is contained in:
Alvaro Sanchez-Leon 2015-07-31 13:38:56 -04:00 committed by Gerrit Code Review @ Eclipse.org
parent be1be83027
commit 64243f4a4c
3 changed files with 20 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

View file

@ -16,4 +16,8 @@ view.name.0 = Memory Browser
view.clearExpressionList = Clear Expressions
# Pin & Clone
PinView.name = Pin to Debug Context
OpenNewView.name = Open New View
OpenNewView.name = Open New View
# watch points
AddWatchpoint.label=Add Watchpoint (C/C++)...
AddWatchpoint.tooltip=Add Watchpoint (C/C++)

View file

@ -73,6 +73,19 @@
</action>
</viewContribution>
</extension>
<extension point="org.eclipse.ui.popupMenus">
<viewerContribution
id="org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowser"
targetID="org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowser">
<action
class="org.eclipse.cdt.debug.ui.breakpoints.AddWatchpointActionDelegate"
enablesFor="1"
icon="icons/elcl16/watchpoint_co.gif"
id="org.eclipse.cdt.debug.internal.ui.actions.AddWatchpointOnMemoryActionDelegate.1"
label="%AddWatchpoint.label"
menubarPath="additions"
tooltip="%AddWatchpoint.tooltip">
</action>
</viewerContribution>
</extension>
</plugin>