Sign in to follow this  
-Datriot-

Debugging

Recommended Posts

I've been making the odd small project here and there, a model loader, 2D engine and the sort, but nothing that was relatively large. I started a medium sized project about a week ago, and I'm approaching it slowly planning the data structures and such. But then it came to me, if I want to create a fairly decent medium sized project I'm gonna have to be more serious about debugging, since I've only really done micro projects before, I didn't really feel debugging was all that neccesery. I've looked around the net and there really isn't much about debugging (apologoies if I just suck at searching for stuff and there is plenty of material out there in the open) so I was hoping someone could kindly point me to anywhere that goes from the basics to the moderately advanced stuff.

Share this post


Link to post
Share on other sites
A debugger can be a nice tool to look very detailed at your code at runtime, but in my opinion you needn't necessarily use a debugger. It's useful sometimes though. Debugging does not implicitly mean you are using a debugger to step through your code. Another way to debug you code is to implement a logger (or simple console output) that writes useful strings and variable values. (This article can be useful)

If you want to find guides/tutorials on how to use a debugger you have to say what language and compiler you are using.
C++:
- Visual C++, Link 2
- gdb

You don't need to debug if you don't write bugs [grin] (impossible...)

EDIT: the link from SiCrane seems to be very useful...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this