Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

debugging vectors

(1/4) > >>

killerbot:
I remember a few months ago we improved the debugger experience so it could show std::vector.

But it seems none of that works anymore. Or did I miss something ?

MortenMacFly:

--- Quote from: killerbot on October 01, 2009, 06:17:09 pm ---But it seems non of that works anymore. Or did I miss something ?

--- End quote ---
Works fine here. What version of compiler/debugger are you using? I remember it did not work for me either until I got the "right" pair of GCC tools.
BTW: Do you mean the debugger branch?

killerbot:
no I am using trunk.

And I think these things have worked in the past.

oBFusCATed:
Test code please?
Works here with the debugger branch, not tested trunk in a while

ollydbg:
The test code both failed in the trunk and debugger branch( with your patch )


--- Code: ---#include <iostream>
#include <string>
#include <vector>

using namespace std;

typedef vector<string> vstr;

int main()
{
    vstr v;
    v.push_back("bla bla");
    string v0 = v[0];
    cout << "Hello world!" << endl;
    return 0;
}


--- End code ---

both v and v0 didn't show correctly in the watch window.

Navigation

[0] Message Index

[#] Next page

Go to full version