Code::Blocks

User forums => General (but related to Code::Blocks) => Topic started by: smallB on October 30, 2011, 04:36:40 pm

Title: I wanna watch you!
Post by: smallB on October 30, 2011, 04:36:40 pm
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.
Title: Re: I wanna watch you!
Post by: oBFusCATed on October 31, 2011, 10:37:37 am
Try the debugger's branch...
Title: Re: I wanna watch you!
Post by: smallB on October 31, 2011, 11:29:33 am
I have the debugger branch.
Title: Re: I wanna watch you!
Post by: oBFusCATed on October 31, 2011, 11:30:57 am
So what is the problem?
Title: Re: I wanna watch you!
Post by: smallB on October 31, 2011, 11:33:26 am
The problem is that I cannot select variable for watching while not  debugging at this moment.
Title: Re: I wanna watch you!
Post by: oBFusCATed on October 31, 2011, 12:30:56 pm
You can, just click on the empty line in the watches window and type.
Title: Re: I wanna watch you!
Post by: smallB on October 31, 2011, 02:41:47 pm
@Obfuscated fantastic! Thanks.
Title: Re: I wanna watch you!
Post by: MortenMacFly on October 31, 2011, 05:05:24 pm
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.
Title: Re: I wanna watch you!
Post by: smallB on October 31, 2011, 05:11:53 pm
@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.
Title: Re: I wanna watch you!
Post by: ollydbg on November 01, 2011, 06:52:33 am
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
Title: Re: I wanna watch you!
Post by: oBFusCATed on November 01, 2011, 08:57:29 am
Won't happen:)
Title: Re: I wanna watch you!
Post by: smallB on November 01, 2011, 10:31:00 am
Why, is there something unreasonable about it?
Title: Re: I wanna watch you!
Post by: oBFusCATed on November 01, 2011, 10:39:33 am
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.
Title: Re: I wanna watch you!
Post by: smallB on November 01, 2011, 11:07:31 am
@Obfuscated that is really great! (D&D)