debugging STL vectors 
Author Message
 debugging STL vectors

Hi,

    Is there a way to see all the elements of a std::vector in the
de{*filter*}?  I can only get to the first element by using:
myVec._First.  Thanks for any help.



Wed, 21 Jan 2004 00:19:14 GMT  
 debugging STL vectors
Hi,

You can try to type the following in the watch window: (assume v is the
vector variable)

*(v._First +1) to display the second element
*(v._First +2) to display the third element
 and so on.

James Wang
Microsoft



Wed, 28 Jan 2004 03:07:02 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. how to watch/debug STL vectors ans lists

2. debug and STL objects (vectors, maps, etc.)

3. STL vector casting

4. There is any equivalent for Vector Container(STL) in C#

5. Memory Leak with vector STL

6. How to deallocate CComObject's inside a STL vector

7. STL Vector in Watch Window?

8. STL Vectors, iterators

9. STL Vectors, iterators

10. STL vector element display question.

11. Clever way to encapsulate STL vector?

12. Display STL vector in watch?

 

 
Powered by phpBB® Forum Software