Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: rogeriodec on March 31, 2018, 04:36:20 pm

Title: Reorder variables in Watches
Post by: rogeriodec on March 31, 2018, 04:36:20 pm
Is there any logic in the order in which the variables appear in Watches?
Apparently they appear in random order, hard to find.
Is there any way to sort the variables there?
Title: Re: Reorder variables in Watches
Post by: BlueHazzard on April 05, 2018, 11:23:33 am
The variables you add are in the order how you add them
The variables provided by codeblocks (function parameters, local variables) are in the order how gdb provides them. I have no idea how this order is made.

@devs:
again some idea for a UI here?

Off topic: From all the posts you make it seems that you misuse the debugger as UI for your program? ;)
Title: Re: Reorder variables in Watches
Post by: rogeriodec on April 05, 2018, 03:17:12 pm
Off topic: From all the posts you make it seems that you misuse the debugger as UI for your program? ;)

Just trying to help the CB debugger have the same facilities as other debuggers.  ;)