Click here to Skip to main content
15,906,947 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: Well I learned something today. Pin
Minion no. 513-May-19 12:14
Minion no. 513-May-19 12:14 
GeneralAll the King's Horses and all the King's Men... Pin
CodeWraith12-May-19 22:34
CodeWraith12-May-19 22:34 
GeneralRe: All the King's Horses and all the King's Men... Pin
RickZeeland13-May-19 1:36
mveRickZeeland13-May-19 1:36 
GeneralDebugging and diagnosis is not being taught PinPopular
Dominic Burford12-May-19 21:47
professionalDominic Burford12-May-19 21:47 
GeneralRe: Debugging and diagnosis is not being taught Pin
harold aptroot12-May-19 21:58
harold aptroot12-May-19 21:58 
GeneralRe: Debugging and diagnosis is not being taught Pin
den2k8813-May-19 0:12
professionalden2k8813-May-19 0:12 
GeneralRe: Debugging and diagnosis is not being taught Pin
harold aptroot13-May-19 0:53
harold aptroot13-May-19 0:53 
GeneralRe: Debugging and diagnosis is not being taught Pin
Nelek13-May-19 2:07
protectorNelek13-May-19 2:07 
harold aptroot wrote:
It's even worse than that: debug-by-printing is often explicitly recommended.
And why is that so bad?
I have found a lot of bugs just adding a couple of messageboxes / wprintf in places of the code

If you are programming things that might have a timing component, debugging alters the real world use case when you hit the stop points. Saving a couple of values there and printing them later on the screen doesn't screw your performance or timing relational so bad.

And as de2k88 said... you might use it always.

You can even "debug" the release version with it.

I think this is like the "goto"... it is not bad per se. But I can agree with you that it might get messy pretty fast.
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.

GeneralRe: Debugging and diagnosis is not being taught Pin
Kevin McFarlane13-May-19 5:48
Kevin McFarlane13-May-19 5:48 
GeneralRe: Debugging and diagnosis is not being taught Pin
WiganLatics13-May-19 4:42
professionalWiganLatics13-May-19 4:42 
GeneralRe: Debugging and diagnosis is not being taught Pin
Dean Roddey13-May-19 8:53
Dean Roddey13-May-19 8:53 
GeneralRe: Debugging and diagnosis is not being taught Pin
GKP199212-May-19 22:00
professionalGKP199212-May-19 22:00 
GeneralRe: Debugging and diagnosis is not being taught Pin
OriginalGriff12-May-19 22:03
mveOriginalGriff12-May-19 22:03 
GeneralRe: Debugging and diagnosis is not being taught Pin
Rick York13-May-19 4:49
mveRick York13-May-19 4:49 
GeneralRe: Debugging and diagnosis is not being taught PinPopular
Kornfeld Eliyahu Peter12-May-19 22:05
professionalKornfeld Eliyahu Peter12-May-19 22:05 
GeneralRe: Debugging and diagnosis is not being taught Pin
raddevus13-May-19 1:49
mvaraddevus13-May-19 1:49 
AnswerRe: Debugging and diagnosis is not being taught Pin
megaadam13-May-19 3:35
professionalmegaadam13-May-19 3:35 
GeneralRe: Debugging and diagnosis is not being taught Pin
raddevus13-May-19 5:15
mvaraddevus13-May-19 5:15 
GeneralRe: Debugging and diagnosis is not being taught Pin
Chris Copeland12-May-19 22:19
mveChris Copeland12-May-19 22:19 
JokeRe: Debugging and diagnosis is not being taught Pin
the goat in your machine12-May-19 22:20
the goat in your machine12-May-19 22:20 
GeneralRe: Debugging and diagnosis is not being taught Pin
CPallini13-May-19 1:00
mveCPallini13-May-19 1:00 
GeneralRe: Debugging and diagnosis is not being taught PinPopular
Richard MacCutchan12-May-19 22:53
mveRichard MacCutchan12-May-19 22:53 
GeneralRe: Debugging and diagnosis is not being taught Pin
Dominic Burford12-May-19 23:22
professionalDominic Burford12-May-19 23:22 
GeneralRe: Debugging and diagnosis is not being taught Pin
den2k8813-May-19 0:15
professionalden2k8813-May-19 0:15 
GeneralRe: Debugging and diagnosis is not being taught Pin
OriginalGriff13-May-19 0:25
mveOriginalGriff13-May-19 0:25 

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.