Author Topic: debugging vectors  (Read 12226 times)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: debugging vectors
« Reply #15 on: October 03, 2009, 12:53:54 pm »
Because we call "info locals" and "info args" which return the values ready to be put in the tree
(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 killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: debugging vectors
« Reply #16 on: October 03, 2009, 01:56:13 pm »
Because we call "info locals" and "info args" which return the values ready to be put in the tree
And can we further post process them ?
For these kind of variables the use is nearly none, the only thing it shows the the user is a bad debug experience.
Are there short term possibilities to improve ?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: debugging vectors
« Reply #17 on: October 03, 2009, 02:29:24 pm »
I'm not sure about trunk, probably no.
In the debugger branch locals and function args are missing at all.

There I want to add multiple watch windows + maybe locals and functions args windows. But I'm not exactly sure how to handle this.

Also we need a way to parse:
Code
struct A
{
     int a;
     string b;
     vector<int> c;
};
But implementing this will make stepping even slower...

(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!]