User forums > Using Code::Blocks
The output infomation of std:bitset is insufficient when debugging.
hooluupog:
--- Quote from: oBFusCATed on March 31, 2012, 10:15:41 am ---hooluupog: Works for me, like in the screenshot from Ollydbg, but you need to install python enabled gdb and you need to have python pretty printers for gdb for the stl library.
See here: http://sourceware.org/gdb/wiki/STLSupport
p.s. Keep in mind that attaching images to the forum is not a really good idea, because the space is limited an when it is exhausted the admins delete attachments at random. A better idea is to paste as text (right click in the command line and mark) or use an image sharing service!
--- End quote ---
Thanks for clearing up my doubt. :) IMHO, it will be good to integrate pretty printers with codeblocks.
oBFusCATed:
Why? Newer gccs have them integrated in the libstdc++ lib, although I don't know what is shipped with Mingw, but this is not our job, it is the job of Mingw developers to ship the printers with they stdc++ lib.
ollydbg:
--- Quote from: oBFusCATed on March 31, 2012, 11:49:24 am ---Why? Newer gccs have them integrated in the libstdc++ lib, although I don't know what is shipped with Mingw, but this is not our job, it is the job of Mingw developers to ship the printers with they stdc++ lib.
--- End quote ---
I see both PCX and TDM's GCC 4.6.x have shipped python pretty printers for libstdc++. They are under
--- Code: ---MinGWFolder/share/gcc4.6.x/python/libstdcxx
--- End code ---
hooluupog:
You are right ;D. Tdm-gcc has already had pretty-printers in it. Use gdb-python27.exe instead of gdb.exe in codeblocks debugger settings and it finally recognized the stl containers correctly.
killerbot:
how is this pretty printing story on linux ?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version