Hi,
This is my first post on this forum.
I'm currenty developing an eclipse product. I would like to define a key binding in my product to toggle breakpoint. In my plugin.xml i defined:
<extension point="org.eclipse.ui.bindings">
<scheme
description="Default scheme for xvr"
id="org.xvr.scheme"
name="xvr.scheme"
parentId="org.eclipse.ui.defaultAcceleratorConfiguration">
</scheme>
...
<key
commandId="org.eclipse.debug.ui.commands.ToggleBreakpoint"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.xvr.scheme"
sequence="F9">
</key>
<key
commandId="org.eclipse.debug.ui.commands.StepOver"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.xvr.scheme"
sequence="F10">
</key>
...
org.eclipse.debug.ui.commands.StepOver works fine while org.eclipse.debug.ui.commands.ToggleBreakpoint doesn't work.
i enabled tracing to see what happens when i press F9 and this is what i get:
COMMANDS >>> execute >>> starting: id=org.eclipse.debug.ui.commands.ToggleBreakpoint; event=ExecutionEvent(Command(org.eclipse.debug.ui.commands.ToggleBreakpoint,Toggle Breakpoint,
Creates or removes a breakpoint,
Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
,
,,true),{},Event {type=1 StyledText {} time=27476484 data=null x=0 y=0 width=0 height=0 detail=0},org.eclipse.core.expressions.EvaluationContext@f454e4)
COMMANDS >>> execute >>> not handled: id=org.eclipse.debug.ui.commands.ToggleBreakpoint; exception=org.eclipse.core.commands.NotHandledException: There is no handler to execute for command org.eclipse.debug.ui.commands.ToggleBreakpoint
what could be the problem?
Thanks