View Single Post
Re: very simple debugging question (MSVC)
Old
  (#6)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: very simple debugging question (MSVC) - 26-01-2004

Quote:
Originally Posted by Lazy
Ok, but what if you have all of your null pointer checks, ect in place but it mysteriously crashes every now and then?
That's when you dust off the old debugger you have not needed for at least a month and find out what has gone wrong.

Quote:
I can see your point but it's hard to not see myself using it.
Or, maybe its time I read my debugging c++ book. It might talk about what you've been saying...
A debugger can be a handy tool to have available when needed, I'm not totally mad ... at least I don't think I am

Debuggers are such a handy crutch it can be difficult to imagine life without one. If you can go without a debugger for long enough, you will eventually reach the opposite point of view where you can't imagine using a debugger frequently, except in certain types of difficult situations.

It has been my observation that people who make frequent use of a debugger tend to have a frequent occurance of bugs and produce difficult to understand code. The debugger provides the quick fix to these problems, which sustains a level of programming methods that would otherwise be intolerable. If a debugger were no longer available, some of these programming methods would become intolerable, and adjustments would have to be made to compensate, leading to better quality code.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut

Last edited by botmeister; 26-01-2004 at 08:05..
  
Reply With Quote