NO

Author Topic: Debugging with many globals  (Read 2825 times)

PhilG57

  • Guest
Debugging with many globals
« on: February 17, 2014, 04:33:35 PM »
Hi.  I'm working with an older program which has many, many globals.  When in the debugger, I need to check the values of a couple of these globals every now and then.  Yes, I know about the 'watch' capability but the names of those I need to check changes often.  While in debug mode, is there some way I can convince the IDE to list these variables in alphabetical order?

Thanks.   

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2096
Re: Debugging with many globals
« Reply #1 on: February 17, 2014, 04:43:56 PM »
What about the debug window (in the lower screen), tab Globals?
No. no way to get them alphabetically ordered. Maybe a feature request?
« Last Edit: February 17, 2014, 04:45:36 PM by frankie »
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: Debugging with many globals
« Reply #2 on: February 17, 2014, 08:30:40 PM »
What about the debug window (in the lower screen), tab Globals?
No. no way to get them alphabetically ordered. Maybe a feature request?
Or make an Add-In  ;D
Here is proto for it ;)
May the source be with you

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2096
Re: Debugging with many globals
« Reply #3 on: February 17, 2014, 08:40:28 PM »
Really nice Timo!  :D
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide

PhilG57

  • Guest
Re: Debugging with many globals
« Reply #4 on: February 17, 2014, 11:15:10 PM »
Wow - thank you.  Such super service...

It took me awhile for me to figure out this add-in as I did not notice the updated tool bar.  I kept checking the "Auto, Watch, Locals, Globals, etc. tabs on the debug window...

At first glance, it appears my locals are not being "seen" by the add-in.  My app is a console program if that makes any difference.  I'm still very happy as it is the globals which were driving me nuts.

Many thanks again.