User forums > General (but related to Code::Blocks)

STL Pretty Print last column

<< < (2/3) > >>

MortenMacFly:

--- Quote from: oBFusCATed on October 25, 2012, 10:18:59 am ---
--- Quote from: killerbot on October 25, 2012, 10:04:42 am ---turning long string into fixed width, multiple line ?

--- End quote ---
No, why would I do that? Most of the times you know what is the type of the variable.

--- End quote ---
But what you can do is before showing a long string, truncate it after a few number of characters, so that the UI fits in the screen like:
"std::map<std::basic_string<char (...)"

BTW: I've never used that, what steps do I need to take to see this pretty printed stuff? (Please ignore my ignorance so far... :-[)

oBFusCATed:

--- Quote from: MortenMacFly on October 25, 2012, 11:15:04 am ---BTW: I've never used that, what steps do I need to take to see this pretty printed stuff? (Please ignore my ignorance so far... :-[)

--- End quote ---
Search for python pretty printers in the forum or gdb pretty printers in google :)

GravityWell:

--- Quote from: oBFusCATed on October 25, 2012, 11:45:39 am ---Search for python pretty printers in the forum or gdb pretty printers in google :)

--- End quote ---
There's actually quite a bit of confusing and outdated info on enabling pretty printers in GDB/CB. It's not that hard once you know how. I can make a quick guide.

PaulS:
I would very much appreciate a quick guuide.  Please do.

oBFusCATed:

--- Quote from: GravityWe11 on October 25, 2012, 02:34:17 pm ---There's actually quite a bit of confusing and outdated info on enabling pretty printers in GDB/CB. It's not that hard once you know how. I can make a quick guide.

--- End quote ---
Yes, please, if you have time write a guide. It will be very helpful.
You can do it on the wiki (use the same login name/password as the one used for the forum).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version