Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: codeman on May 13, 2011, 03:11:02 pm
-
Another gdb patch I submitted a few days ago:
https://developer.berlios.de/patch/?func=detailpatch&patch_id=3154&group_id=5358
At the moment when you type a command into the debugger combo box, it inserts it in the history at the beginning, so you have to press DOWN to access the last command to repeat it. This is annoying and the opposite to what you expect from other command consoles like Bash or Quake.
I changed it so that the last gdb command is appended to the end of the combo list, so you can press UP to repeat the most recent one. Nice and intuitive.
Also, commands in the list are unique, so if the entered command was already in the history it is moved down to the bottom to become the most recent again.
-
Ah, thanks... this was annoying for me, too...
p.s. if you make other debugger patches in the future, please do so against the debugger's branch, because there are many improvements and changes. (I'll port your patch to the branch)
-
In svn, thank you
-
can this patch also be applied to trunk ?
Then we have a debugger improvement there also ;-)
-
Morten or Jens should decide, because they do the merging.
And applying the patch would probably make them suffer...