Advertisement

Debugging Techniques

Started by July 06, 2000 09:46 AM
1 comment, last by Tha_HoodRat 24 years, 5 months ago
I have been programming for quite a while now , and I notice something , I have never used the debugger or even used the debug build of any of the software I have made .The way I make my apps , games or other wise is to compile and run after a major change . The way I trace bugs if just by looking at my code and tracing it manually . I have never ran into a bug I cant fix. Even when using direct x , most of the time I dont use a error tracking class . Is this how people do it in the industry? What are the advantages of using debug and how do you use it ? There are only four types of men , RichMan , PoorMan , BeggarMan , Thief........
I was influenced by the Ghetto you ruined.
Hmm....I think there is nobody in the industry who doesn´t use the debbuger.Especially ´cause in this industrie there is never enough time.For example if your program crashes due to some memory allocating problems and you have a big project you´ll have to look at lots of mallocs or if you try to acces non-allocated memory somwhere,....With the debugger you just let the debugger run and it stops with an error code at the point you made the fault you correct it and are done.Looks much more simpler+practical+faster to me.Yes I think the main reason for debbuging is that it goes much faster than finding the bug manually.

HTH,XBTC!

Edited by - XBTC on July 6, 2000 4:53:07 PM
Advertisement
I REALLY suggest that you *always* use the debug built. VC++ has some very clever features to detect memory related problems that won''t show up in the release version... until it crashes on the computer of some user ;-)) And using the debugger is sometimes useful. You can simply break and look at the value of a pointer etc...

I don''t use debuggers much, but in some cases they might be very helpful...

Tim

--------------------------
www.gamedev.net/hosted/glvelocity
glvelocity.gamedev.net
www.glvelocity.com
Tim--------------------------glvelocity.gamedev.netwww.gamedev.net/hosted/glvelocity

This topic is closed to new replies.

Advertisement