I'm trying to debug my code. I haven't really used a debugger before. I know that in the long run, learning how to use a debugger will be very, very helpful, so I'm trying to find one that suits me. Are there any newbie-friendly debuggers for C++? Ideally with a good GUI...
If not, can anyone point me to a good, newbie-friendly guide to using gdb? My prof recommended it, but it seems to have somewhat of a steep learning curve (at least, for me) since I don't know what to look out for and how to use it. I've tried googling, but I can't seem to find a decent guide.
In short, I just want to set breakpoints and step through the code while checking the values that are being assigned into my variables. Also, being able to view my code while debugging would be awesome.
If its of any importance, I'm running on a mac, and I have gdb installed. I use the NetBeans IDE to code with, and it debugs with gdb (I think), but I don't know how to use it. I have finally decided on trying out a debugger instead of spot-checking my code. I've spent too many hours pulling my hair out on my current programming project. (I'm trying to make an AVL Tree, for those of you who are interested :D)
Thanks!