Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » ToggleBreakpoint command key binding
ToggleBreakpoint command key binding [message #686059] Tue, 21 June 2011 14:33
raffaello  is currently offline raffaello Friend
Messages: 5
Registered: June 2011
Junior Member
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
Previous Topic:[Resolved]Could not increase eclipst font at editor.
Next Topic:(no subject)
Goto Forum:
  


Current Time: Fri Apr 19 15:40:27 GMT 2024

Powered by FUDForum. Page generated in 0.01690 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top