Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dearvivekkumar

macrumors newbie
Original poster
Jan 3, 2011
9
0
New Delhi, India
nbWdg.jpg
Code:
    #include <iostream>
    #include <vector>
    using namespace std;
    
    typedef struct Record
    {
    	std::string		name;
    	bool			isVisible;
    	int			index;
    }Record;
    
    vector<Record> recordVector;
    
    int main (int argc, char * const argv[])
    {
    	Record tmpRecord = {"c++", true, 1};
    	
    	for (int i = 0 ; i < 15; ++i) {
    		recordVector.push_back(tmpRecord);
    	}
    	
        return 0;
    }

When I am debugging this and hover my cursor at recordVector variable to see the entire contents of this, its showing just 10(0-9) only, also its also not showing full contents in memory browser also. Although this vector has 15 contents in it.

Any clue for tweaking out this will be greatly appreciated.

Thanks!!
 
You can see all the values in the expressions window, at least in Xcode 3.2.5.

There's an "All" button there (see screenshot).

B
 

Attachments

  • Screen shot 2011-01-12 at 9.29.45 AM.png
    Screen shot 2011-01-12 at 9.29.45 AM.png
    17.2 KB · Views: 291
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.