User forums > Using Code::Blocks
std::vector in the debugger: i don't understand the previous topic
oBFusCATed:
Can you enable the debugger's debug log and paste the output of your debug session?
To enable the log go to Settings -> Compiler & Debugger -> Display debugger's log.
p.s. please use code tags
21did21:
--- Quote from: oBFusCATed on May 03, 2011, 11:57:50 pm ---Can you enable the debugger's debug log and paste the output of your debug session?
To enable the log go to Settings -> Compiler & Debugger -> Display debugger's log.
p.s. please use code tags
--- End quote ---
thank you for your help, this is the output of my debugg:
--- Code: ---Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: D:\myProgram\
Adding source dir: D:\myProgram\
Adding file: bin\Debug\myProgram.exe
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.2
Child process PID: 5680
Program exited normally.
Debugger finished with status 0
--- End code ---
oBFusCATed:
No, it is not.
--- Code: ---Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
--- End code ---
Looks like you've not disabled the pretty printers inside C::B!
21did21:
--- Quote from: oBFusCATed on May 04, 2011, 01:29:43 pm ---No, it is not.
--- Code: ---Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
--- End code ---
Looks like you've not disabled the pretty printers inside C::B!
--- End quote ---
thank you for your help, what is "pretty printers"?
in attached item you have my result (it work for a vector but not for a vector <vector > double > )
and you have my configuration.
oBFusCATed:
Pritty printers are pieces of code which transform the ugly output of gdb in something readable. They hide the implementation details of a vector for example and transform it into something looking like array.
The vector<vector<double>> doesn't work because you have not correctly commented out the function RegisterTypes(driver) function.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version