Sign in to follow this  
nefthy

Debugging tutorial

Recommended Posts

Hi everyone, I am currently working an a debugging tutorial targeted at common problems encauntered in the NeHe and OpenGL forums. I will cover OpenGL specific debugging techniques aswell as some more general that can be usefull. What I have thought of including till now:
  • The glGetError function and some handy tricks to make it easier to use
  • Using a debuger to fix Access Violation (SegFaults)
  • Using a memory debuger (valgrind) to fix memory corruptions
  • Visualizing normals to fix lighting issues
Can you think of anything else that might be usefull to include? Also I use the gnu tool chain for the examples since that is what I am familiar with, so I could use some help from someone who knows both the gnu and the MS Visual Studio tool chains, to "translate" the examples. Any other comments are wellcome as well.

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