News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Debugging - Watch - Keyboard shortcut

Started by Léa Massiot, November 15, 2012, 09:22:15 PM

Previous topic - Next topic

Léa Massiot

Hello and thank you for reading my post.

Every time I want to watch a new variable, I have to:
1) select the variable,
2) right-click,
3) scroll top,
4) click "Watch <variable_name>".

Is there any keyboard shortcut which would allow me  to:
1) select the variable I want to watch
2) and then compose the keyboard shortcut to have it watched?

Thank you for your help and best regards.

Jenna

If you use a recent version of C::B you can select the variable you want to watch and drag it into the watches window.

oBFusCATed

I'm adding it to my TODO. Thank you for the request.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Léa Massiot

Quote from: jens on November 15, 2012, 09:33:25 PM
If you use a recent version of C::B you can select the variable you want to watch and drag it into the watches window.

Indeed, it works for me, thank you.

Quote from: oBFusCATed on November 15, 2012, 09:35:05 PM
I'm adding it to my TODO. Thank you for the request.

:)

Thank you and best regards.

cbuser2

Quote from: jens on November 15, 2012, 09:33:25 PM
If you use a recent version of C::B you can select the variable you want to watch and drag it into the watches window.

Very quick and easy. This instruction should be added to the debug wiki(nightlies section).

Right now the wiki has:


Click in the empty last row in the watches window, type the name of the variable (or full expression) and hit enter.


Which meant that I was doing a lot of typing of variable names in the watches window(up to 15 variables or more), and this was error-prone for long variable names. I couldn't find a way of auto-completing variable names in the watches window - I don't think that this is actually an option?

cbuser2

Quote from: oBFusCATed on November 15, 2012, 09:35:05 PM
I'm adding it to my TODO. Thank you for the request.

Is this in your TODO list? :D


The automatic inclusion of local variables and function arguments[in the Watches window] have not being reimplemented. Sorry about the inconvenience.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]