What's new in VS2005 debugger -- STL data display
2004-07-16 12:48 atempcode 阅读(772) 评论(1) 编辑 收藏 举报The STL data diaplay has improved in the VS2005.
Conisder the simple c++ code:
#include "stdafx.h"
#include <vector>
int _tmain(int argc, _TCHAR* argv[])
{
std::vector<std::string> V;
V.insert(V.begin(), "hello");
V.insert(V.begin(), "world");
return 0;
}
#include <vector>
int _tmain(int argc, _TCHAR* argv[])
{
std::vector<std::string> V;
V.insert(V.begin(), "hello");
V.insert(V.begin(), "world");
return 0;
}
set breakpoint at 'return 0'.
In VS2003, the V is shown as:
In VS2005, the V is shown as: