Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: mirai on June 19, 2013, 01:04:11 pm

Title: Debug watches and local variables in 12.11
Post by: mirai on June 19, 2013, 01:04:11 pm
In previous versions of C::B watch window was preloaded with local variables which were automatically changing with the stack frame, now it seems to be gone. Is there a way to make the recent release of C::B behave like the other one before? I need an overview of entire stack frame. The overhead of adding all locals manually every time is way too large. New pop-up window for variables is nice, however, this is not an equivalent replacement for the old feature.
Title: Re: Debug watches and local variables in 12.11
Post by: oBFusCATed on June 19, 2013, 01:25:00 pm
Search the forum about this and you'll get some explanations you won't be happy about  :P
Title: Re: Debug watches and local variables in 12.11
Post by: mirai on June 19, 2013, 02:08:10 pm
I don't know what good reasons you people had for this revolution, but now I'm forced to downgrade my C::B and stick with an older version that WORKS.
Title: Re: Debug watches and local variables in 12.11
Post by: oBFusCATed on June 19, 2013, 02:30:47 pm
I don't know what good reasons you people had for this revolution, but now I'm forced to downgrade my C::B and stick with an older version that WORKS.
You forgot the quotes around works :)
Title: Re: Debug watches and local variables in 12.11
Post by: MortenMacFly on June 21, 2013, 06:47:16 am
You forgot the quotes around works :)
We have a patch available that brings back this functionality. However, as oBFusCATed mentioned - it was error prone (due to the GDB interface) so thats's why we didn't re-implement it in the first place.

@oBFusCATed: Did you find the time to test the patch? Maybe we should apply it in trunk with a big-letter-red-labled "WARNING"...
Title: Re: Debug watches and local variables in 12.11
Post by: oBFusCATed on June 21, 2013, 08:58:42 am
What patch? The one with the list control?
Title: Re: Debug watches and local variables in 12.11
Post by: MortenMacFly on June 21, 2013, 01:09:06 pm
What patch? The one with the list control?
List control?! Not sure, I meant the patch I sent concerning watching locals in de dev part of the forum...