Hello, some days ago, I send here a (crap and buggy) patch that allows GDB to display STL containers. I know that this patch was too intrusive and dependent of the STL version. Today, I wrote another patch that allows me to load plugin into GDB that are called in particular situations, like displaying the content of a variable of a particular type, or creating varobjects in MI interpreter. It is used to format any kind of datas as I want it to be displayed. I submit a new version of my STL container viewer, but this time as a plugin. It handles STL container access as it was a classic C array, and answers queries like 'sizeof'... It also support MI interpreter, so that GDB could be used with frontend, still displaying data correctly. I tried it with Eclipse/CDT, KDevelop, KDBG, Nemiver and Insight/GDB. All works well ! In order to compile the plugin, you'll have to modify the Makefile and set the correct value for GDB_SOURCES variable. After that, launch a GDB session, and execute the command (gdb) loadplugin /path/to/plugin/stl.so A typical session could look like that (gdb) b 122 Breakpoint 1 at 0x8049602: file main.cpp, line 122. (gdb) r Starting program: /home/bsr/sources/stl/a.out Breakpoint 1, main () at main.cpp:122 122 return 0; (gdb) whatis m type = std::map,std::allocator > > (gdb) p m $1 = { { 0x8051ec6 "un", 1 }, { 0x8051ec9 "deux", 2 }, { 0x8051ece "trois", 3 } } (gdb) p m[2] $2 = { first = 0x8051ece "trois", second = 3 } (gdb) p sizeof(m) $3 = 12 (gdb) stlsizeof 1 sizeof operator on STL containers will print the number of elements. (gdb) p sizeof(m) $4 = 3 (gdb) ... You could simply put the command into your ".gdbinit" to allow frontends to use STL data formatter. PS: I know that there is a Python scripting patch in progress. Mine is only a small patch to allows people to use this feature today, waiting a cleaner engine !