Hello,
I have installed CodeBlocks nightly (2nd April version) along with MinGW build from
http://code.google.com/p/qp-gcc/wiki/GDB. I am trying to debug a basic C++ program with STL vector class. When I turn on the watch window, it isn't showing the STL vector variable correctly.
The declaration of the STL Vector object is :
>>
vector<string> ret;
>>
The watch window shows this as
>>
ret = Couldn't find method std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char>..."
>>
This is shown in the attached the screenshot file attached.
When I enable "Display Debugger's log" and I use "p ret" in the window, it shows the result I expect. This is also shown in debugger_window.png screenshot. The debugger's log file is also attached.
Could someone help me identify what's wrong.
Thanks & Regards,
Vikas