News:

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

Main Menu

I wanna watch you!

Started by smallB, October 30, 2011, 04:36:40 PM

Previous topic - Next topic

smallB

Guys, I think that being able to chose variables for watch before I actually start debugging would be a good idea. This would allow me select them in "peace and quiet" before the whole process of debugging starts. Also in view of the fact that I can actually have watch window active while not debugging also suggests that this window can be utilized at that particular moment.
Thanks.

oBFusCATed

Try the debugger's branch...
(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!]

smallB

I have the debugger branch.

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!]

smallB

The problem is that I cannot select variable for watching while not  debugging at this moment.

oBFusCATed

You can, just click on the empty line in the watches window and type.
(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!]

smallB

@Obfuscated fantastic! Thanks.

MortenMacFly

#7
Generally this reply applies to all your posts:
Could you please instead of opening another new topic over an over again use one thread only to post your suggestions? Otherwise they really tend to get lost. Call it "SmallB's suggestions" and collect them all in one post numbering them.

Edit: BTW: The next logical step would than be "SmallB's patches". We had it that way in the past and it worked great.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

smallB

@Morten yes, that is what I'll do. Thank you for your suggestion. Can't promise patches at that moment (just don't know enough yet) but with time I'll do my best.

ollydbg

Quote from: oBFusCATed on October 31, 2011, 12:30:56 PM
You can, just click on the empty line in the watches window and type.
Adding a watch variable from the context menu even we are not debugging should be a "feature request" :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

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!]

smallB

Why, is there something unreasonable about it?

oBFusCATed

The context menu is full of useful features and thus it is becoming hard to use.
I don't want to clutter it even more.

BTW: you can drag and drop your selection in the watches window.
(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!]

smallB

@Obfuscated that is really great! (D&D)