User forums > Using Code::Blocks
Any reasonable procedure for debugging with GDB?
ta0:
What about something really basic, like say I have a vector<string> and want to know what is in it.
If I try to call a print function from the debug console I only get SIGSEGV. And I obviously can't see anything except some hex addresses and <No data fields> in the watch window.
All I want is to be able to see at least something without having to insert cout's all over the place. I hardly think that is having a problem.
oBFusCATed:
--- Quote from: ta0 on May 22, 2015, 06:56:17 pm ---What about something really basic, like say I have a vector<string> and want to know what is in it.
--- End quote ---
For this to work you need gdb which supports python pretty printers and also printer scripts for stl.
On linux this is relatively easy to setup, but on windows it is a bit more complicated.
Navigation
[0] Message Index
[*] Previous page
Go to full version