Looking for C++ debugging techniques.

I starting to feel more comfortable with the C::B ide. But I still not very versed in C++ debugging techniques. I remember in the Paul Kunz course he mentioned some technique that could track some routines called. It was one of those, “Oh I need to remember that” moments,… I did… just not where and what…Oh well..
Anyway… might have been Dtrace
I’m not sure I’m a level where I need to mess with that..

Well, code::blocks has debugging tools.. I suppose I should rtfm
Bunch of stuff in there I suppose..
[ edit 6/12/09 ] I found something more of interest here.
Quoting verbatim:
Debugger:

* Interfaces GNU GDB
* Also supports MS CDB (not fully featured)
* Full breakpoints support:
o Code breakpoints
o Data breakpoints (read, write and read/write)
o Breakpoint conditions (break only when an expression is true)
o Breakpoint ignore counts (break only after certain number of hits)
* Display local function symbols and arguments
* User-defined watches (support for watching user-defined types through scripting)
* Call stack
* Disassembly
* Custom memory dump
* Switch between threads
* View CPU registers

So lets see what I get with GNU GDB … I just checked synaptic, code is loaded up on my system.

Ok… I seem to have found some code::blocks instructions

This seems like this this my be the topic of another post.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *