One important thing, I did a very quick test on a console app (debug target) with the following contents for main.cpp :
#include <iostream>
#include <vector>
int main()
{
std::vector<int> Test;
Test.push_back(1);
Test.push_back(2);
Test.push_back(3);
Test.push_back(4);
std::cout << "Hello World" << std::endl;
return 0;
}
==> on my linux box I have the following results
1) when the debugger plug-in is configured to evaluate the variable under the cursor, it is not feasible to right click on the 'Test' variable to add it to the watches
==> I manually added it ;-)
2) tooltip : evaluate under cursor gives for 'Test' : Cannot evaluate function -- may be inlined
3) 'Test' in the watches gives : evaluate under cursor gives for 'Test' : Cannot evaluate function -- may be inlined
4) Watches : Local variables -> Test gives : <std::_Vector_base<int, std::allocator<int> >> <no data field>
.
.
.
5) trying to dock the watches windows ===> CB CRASH
So although the gdb_types.script contains support for the vector (as requested by the OP), I doesn't seem to work.
@Everyone : please write scripts to enhance the debugging/watches experience ;-)