Author Topic: Reorder variables in Watches  (Read 2445 times)

Offline rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 50
Reorder variables in Watches
« 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?
Windows 8.1

SVN 11400

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Reorder variables in Watches
« Reply #1 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? ;)

Offline rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 50
Re: Reorder variables in Watches
« Reply #2 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.  ;)
Windows 8.1

SVN 11400