Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Chuck on July 16, 2010, 11:25:07 am

Title: The same shortcut for "Start Debug" and "Continue Debug"
Post by: Chuck on July 16, 2010, 11:25:07 am
Hello everyone,

I am currently using Code::Blocks, because the current build of VS 2010 is cumbersome. First of all thanks for this nice IDE.

There is only one thing which is a little bit annoying. The fact is that Code::Blocks treats "Start Debug" and "Continue Debug" as two separate things. And unfortunately one can't assign twice the same shortcut. I manually edited the shortcut definition file, the menu entries showed the same shortcut, Code::Block started debugging but didn't continue it.

Is there any workaround?

Sven
Title: Re: The same shortcut for "Start Debug" and "Continue Debug"
Post by: ollydbg on July 19, 2010, 03:44:02 pm
Yes, I personally there should be only one short-cut key for the two functions. Can we implement that? or it is already exist in debugger_branch?

Title: Re: The same shortcut for "Start Debug" and "Continue Debug"
Post by: oBFusCATed on July 19, 2010, 03:52:32 pm
It is not implemented...
Title: Re: The same shortcut for "Start Debug" and "Continue Debug"
Post by: ndk on September 05, 2010, 09:34:05 am
Yes, I personally there should be only one short-cut key for the two functions. Can we implement that? or it is already exist in debugger_branch?

See attach
Title: Re: The same shortcut for "Start Debug" and "Continue Debug"
Post by: ollydbg on September 05, 2010, 09:36:47 am
Yes, I personally there should be only one short-cut key for the two functions. Can we implement that? or it is already exist in debugger_branch?

See attach
hi, thanks.
the patch is against debugger_branch? or trunk?
Title: Re: The same shortcut for "Start Debug" and "Continue Debug"
Post by: ndk on September 05, 2010, 10:03:30 am
Yes, I personally there should be only one short-cut key for the two functions. Can we implement that? or it is already exist in debugger_branch?

See attach
hi, thanks.
the patch is against debugger_branch? or trunk?


trunk
Title: Re: The same shortcut for "Start Debug" and "Continue Debug"
Post by: oBFusCATed on September 05, 2010, 12:12:03 pm
1. It should be against the debugger branch, because there are many changes to the menu/toolbar handling in there.
   Applying it in trunk is useless, because it should be redone when syncing with the branch....
2. You should remove the separate menus "Start" and "Continue" and probably the menu label should be changed depending on the state of the debugger.
Title: Re: The same shortcut for "Start Debug" and "Continue Debug"
Post by: ndk on September 05, 2010, 12:31:53 pm
1. It should be against the debugger branch, because there are many changes to the menu/toolbar handling in there.
   Applying it in trunk is useless, because it should be redone when syncing with the branch....

where are debugger branch on svn?
Title: Re: The same shortcut for "Start Debug" and "Continue Debug"
Post by: oBFusCATed on September 05, 2010, 03:11:07 pm
The branch is wxpropgrid_debugger, also I'll make a patch that will fix this problem.
Title: Re: The same shortcut for "Start Debug" and "Continue Debug"
Post by: oBFusCATed on September 05, 2010, 03:41:38 pm
There is the patch http://forums.codeblocks.org/index.php/topic,10908.msg89081.html#msg89081