Visual Studio Debugger Does Not Display More Than 99 C ++ Container Elements

I am trying to check all the elements of a std :: set container in my C ++ application, but in visual studio 2005/2010 only the first 99 elements are displayed. How to set up IDE to display all elements?

Thank..

+3
source share
2 answers

FWIW, you get this feature out of the box with VS2008, but it looks like it has gone to VS2010. I just tried this in both VS2008 and VS2010:

std::set< int > s;

for(int i = 0; i < 400; ++i)
{
    s.insert(i);
}

Setting a breakpoint after that, and then using the Locals or Watch panels, if I expand s, the debugger shows me all 400 elements below it in VS2008, but only the first 100 in VS2010.

, - VS2008, .

FWIW, C- , , . p, 200 200 * p . std:: set.: (

+1

V++ Express 2010. , IDE. .

0

Source: https://habr.com/ru/post/1775043/


All Articles