Author Topic: Debug watches and local variables in 12.11  (Read 7676 times)

Offline mirai

  • Multiple posting newcomer
  • *
  • Posts: 108
Debug watches and local variables in 12.11
« 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Debug watches and local variables in 12.11
« Reply #1 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
(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!]

Offline mirai

  • Multiple posting newcomer
  • *
  • Posts: 108
Re: Debug watches and local variables in 12.11
« Reply #2 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Debug watches and local variables in 12.11
« Reply #3 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 :)
(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!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Debug watches and local variables in 12.11
« Reply #4 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"...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Debug watches and local variables in 12.11
« Reply #5 on: June 21, 2013, 08:58:42 am »
What patch? The one with the list control?
(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!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Debug watches and local variables in 12.11
« Reply #6 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...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ