Hi
I just installed Code::Blocks for the first time and try to debug some test apps. For instance:
int main()
{
vector<int> vec(10);
int c = 0;
for (vector<int>::iterator i = vec.begin(); i <= vec.end(); i++) {
*i = c++;
cout << *i << " ";
}
}
When I break and inspect the vec object in I cannot see the actual values of the vector. Am I doing anything wrong or is it an IDE/gdb limitation?
Versions:
CB 8.02
gcc 4.3.2
gdb 6.8
[attachment deleted by admin]