results of my latest experiment.
* in CB debugger settings : no source init commands anymore
* mofdified "gdb_types.script"
* stl-views-1.0.3.gdb @ /usr/local/share/codeblocks
* code change in gdbdriver.cpp::GDB_driver::Prepare()
// define all scripted types
m_Types.Clear();
InitializeScripting();
wxString StlDebugCommand(_T("source $DATAPATH/stl-views-1.0.3.gdb"));
Manager::Get()->GetMacrosManager()->ReplaceMacros(StlDebugCommand);
QueueCommand(new DebuggerCmd(this, StlDebugCommand));
// pass user init-commands
==> works, I see 200 entries of the vector v. And when I send manually the "pvector v" command to gdb, I see all 1000 entries.
One strange thing :
elem[997]: $998 = 997
elem[998]: $999 = 998
elem[999]: $1000 = 999
Vector size = 1000
Vector capacity = 1024
Element type = int *
element type --> int * , shouldn't this be int ?