Detect commands accidentally entered into watch window
Opened this issue · 2 comments
Occasionally I find myself accidentally typing a command intended for the command textbox into the watch window by mistake. I think certain common commands could be detected and be automatically entered into the command textbox instead.
If you have any common commands you want added to this list, please reply to this thread.
b <function name>
b <line number>
file <symbol file>
Hi,
I'm a happy user of this program, which is the superior gdb frontend in my eyes, thanks a lot.
It happens to me too, that i enter commands inside into the watch window.
In most of the cases i realize it before pressing enter to invoke that command.
If this is the case for you too, one practical solution would be a key binding to transfer the typed command into the command textbox, that way there would be no need to specify commands that should work inside the watch window too.
What do you think?
Thanks
Since I made this issue, I no longer find myself making this mistake.
Therefore it is possible to learn new muscle memory to avoid doing this.
However I dislike that there is a learning curve for new users.
I think that it would be better to try to come up with a new solution than trying patch over the existing system.
Perhaps this could involve somehow merging the console input textbox and watch window input.
But I am not sure what that would look like.
I'd love to hear ideas if anyone has them.