Click here to Skip to main content
15,916,188 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Is debugging a lost art ? Pin
GuyThiebaut13-Dec-15 23:05
professionalGuyThiebaut13-Dec-15 23:05 
GeneralRe: Is debugging a lost art ? Pin
W Balboos, GHB14-Dec-15 1:47
W Balboos, GHB14-Dec-15 1:47 
GeneralRe: Is debugging a lost art ? Pin
Kevin Marois14-Dec-15 4:45
professionalKevin Marois14-Dec-15 4:45 
GeneralRe: Is debugging a lost art ? Pin
BillWoodruff14-Dec-15 16:20
professionalBillWoodruff14-Dec-15 16:20 
GeneralRe: Is debugging a lost art ? Pin
Matthew Dennis14-Dec-15 4:49
sysadminMatthew Dennis14-Dec-15 4:49 
GeneralRe: Is debugging a lost art ? Pin
Garth J Lancaster14-Dec-15 13:13
professionalGarth J Lancaster14-Dec-15 13:13 
GeneralRe: Is debugging a lost art ? Pin
Matthew Dennis14-Dec-15 16:46
sysadminMatthew Dennis14-Dec-15 16:46 
GeneralRe: Is debugging a lost art ? Pin
Andreas Mertens15-Dec-15 3:42
professionalAndreas Mertens15-Dec-15 3:42 
This topic struck a note with me as well, as I find that most new developers have next to no skill in doing any sort of deep debugging.

I find myself in the group that learned debugging in the "old days" - I actually honed my skills in the '70s on the early hobbyist computers, teaching myself machine language/assembler programming (side note - first processor I programmed on was an 1802 Big Grin | :-D ). Back then there wasn't a lot of good programming documentation - you were lucky to get a description of the ports/memory map locations and a brief description of each. And there was internet as such, so unless you were part of a user group or had access to a good local BBS, you had to figure these things out for yourself.

So often, you would have to really think through how to solve a problem, find the write approach for the hardware you were using, and then write a test case you could work through in a debugger to see what was actually happening. You would learn something, update the code, and try again. This iterative approach was great in getting a deep insight into your computer environment, and it really made you think through the problem you were trying to solve. (side note - I remember loving Microsoft CodeView, and how you could bring up the application in your EGA display, and the debugger on your monochrome display).

Yes, today we do have test frameworks to help catch problems before they occur. But it is next to impossible to anticipate every possible situation. Especially when you have to integrate 3rd party libraries and frameworks, which may or may not work precisely as documented. There will always be times when something goes awry, and you better know how to dig into the deeper levels of the code with a debugger, isolating the issue, and coming up with a reasonable fix.

I don't think debugging per se is a lost art, but there are certainly degrees of expertise to debugging. I know that when I have an customer support issue that needs to be fixed, the first thing I do is not to pull up the debugger, but think about the problem, trying to think about what the issue is, and the approaches that might be required - in short, come up with a plan. I find that in doing this first, I tend to have a better idea of where in the code to look at first, and what hints at issues I should be paying attention to, and what approach I should take to debugging the code.

A lot of this is simple experience. Those of us from "the old days" didn't have a lot of choice, and had a lot of experience in debugging code - as that was the only way we had available. Today though, with many more "proactive" approaches to dealing with issues, developers don't get the same level of deep debugging experience. And that is a cause for concern, as I doubt that the need for debugging will ever go away.
GeneralRe: Is debugging a lost art ? Pin
sir_download_alot14-Dec-15 20:55
professionalsir_download_alot14-Dec-15 20:55 
GeneralRe: Is debugging a lost art ? Pin
Dan Neely14-Dec-15 5:25
Dan Neely14-Dec-15 5:25 
GeneralRe: Is debugging a lost art ? Pin
RJOberg14-Dec-15 9:37
professionalRJOberg14-Dec-15 9:37 
GeneralRe: Is debugging a lost art ? Pin
Garth J Lancaster14-Dec-15 13:19
professionalGarth J Lancaster14-Dec-15 13:19 
GeneralRe: Is debugging a lost art ? Pin
Andreas Mertens15-Dec-15 3:54
professionalAndreas Mertens15-Dec-15 3:54 
GeneralRe: Is debugging a lost art ? Pin
RJOberg15-Dec-15 4:56
professionalRJOberg15-Dec-15 4:56 
GeneralRe: Is debugging a lost art ? Pin
Erik Burd14-Dec-15 10:38
professionalErik Burd14-Dec-15 10:38 
GeneralRe: Is debugging a lost art ? Pin
Garth J Lancaster14-Dec-15 13:22
professionalGarth J Lancaster14-Dec-15 13:22 
GeneralRe: Is debugging a lost art ? Pin
WoodseyAU14-Dec-15 19:58
WoodseyAU14-Dec-15 19:58 
GeneralRe: Is debugging a lost art ? Pin
maze314-Dec-15 22:16
professionalmaze314-Dec-15 22:16 
GeneralRe: Is debugging a lost art ? Pin
Kiriander14-Dec-15 22:21
Kiriander14-Dec-15 22:21 
GeneralAnyone want to play a bit of SW trivia? Pin
dsuryd13-Dec-15 19:34
dsuryd13-Dec-15 19:34 
GeneralRe: Anyone want to play a bit of SW trivia? Pin
OriginalGriff13-Dec-15 21:06
mveOriginalGriff13-Dec-15 21:06 
GeneralRe: Anyone want to play a bit of SW trivia? Pin
Richard MacCutchan13-Dec-15 21:20
mveRichard MacCutchan13-Dec-15 21:20 
GeneralRe: Anyone want to play a bit of SW trivia? Pin
OriginalGriff13-Dec-15 21:33
mveOriginalGriff13-Dec-15 21:33 
GeneralRe: Anyone want to play a bit of SW trivia? Pin
dsuryd14-Dec-15 6:04
dsuryd14-Dec-15 6:04 
GeneralRe: Anyone want to play a bit of SW trivia? Pin
OriginalGriff14-Dec-15 6:12
mveOriginalGriff14-Dec-15 6:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.