Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have a C++ project in Visual Studio 2010 and I have my static library "MyLib.lib" which contains the structure definition:

struct TWaggon
{
    int someData;
}

And I have a header file "Trains.h" with definition of this class.

Also this library contains the definition of a std::vector with pointers to TWaggon:

vector <struct TWaggon *> train;

I include this library in my Visual Studio project. When I debug this project I want to see the content of this vector, but I can’t:

Screenshot of debug process

As you see, we can see content of another vector, but can’t see content of the vector “train” from my library. Also the type of this vector is strange - void (unsigned int, unsigned int).

I tried to change debug information format (/Zd, /Z7, /Zi, /ZI) but it didn't help.

Tell me, please, what could be the problem?

Thanks for your help!

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.