Author Topic: Will this be fixed in v18 (Class members displayed in alphabetical order..)  (Read 3438 times)

lambertia

  • Senior Community Member
  • Posts: 382
  • Hero Points: 14
  • I have nothing sufficiently witty to say.
http://community.slickedit.com/index.php/topic,8755.0.html

I can't tell you how annoying it is. I cry a little everytime the debugger lies to me and prints the members in alphabetical rather than declarative order.

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
I will look into this, but the problem is partially a GUI problem.  We use a tree with a column header, and the column header causes the tree to be sorted by name.  I'm not sure that it would be a great idea to take away the column sorting entirely, but that is one solution.

skywise

  • Senior Community Member
  • Posts: 331
  • Hero Points: 10
Could you create an index order column and then assign the declarative order to it and sort on that?

Dennis

  • Senior Community Member
  • Posts: 3961
  • Hero Points: 517
I just took the column sorting out.  That fixes the problem, so long as the debugger engine returns thing in the declarative order.  This is true of GDB most of the time, at least.

In the future, I'm going to look into having a three-state column header sorting (ascending, descending, none) in our tree control.

lambertia

  • Senior Community Member
  • Posts: 382
  • Hero Points: 14
  • I have nothing sufficiently witty to say.
Oh yay! :)