Click here to Skip to main content
15,890,123 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: Morons Pin
CodeWraith21-May-19 4:46
CodeWraith21-May-19 4:46 
GeneralRe: Morons Pin
Richard Deeming21-May-19 5:27
mveRichard Deeming21-May-19 5:27 
GeneralRe: Morons Pin
Nagy Vilmos21-May-19 5:29
professionalNagy Vilmos21-May-19 5:29 
GeneralRe: Morons Pin
User 1106097921-May-19 5:41
User 1106097921-May-19 5:41 
GeneralRe: Morons Pin
Nathan Minier21-May-19 5:48
professionalNathan Minier21-May-19 5:48 
GeneralRe: Morons Pin
BillWoodruff21-May-19 19:05
professionalBillWoodruff21-May-19 19:05 
GeneralRe: Morons Pin
jschell23-May-19 4:57
jschell23-May-19 4:57 
GeneralRe: Morons Pin
Dean Roddey21-May-19 6:28
Dean Roddey21-May-19 6:28 
To be fair, general purpose code doesn't care what the error is in the bulk of cases. It wants to clean up and pass it up the chain to something that has some problem domain understanding of what is going on.

Of course in my case I will be adding to the exception stack trace before rethrowing so I have to have it available anyway, though I'm not actually looking at it.

You can obviously use conditional compilation if you just want to have it available for debug builds and not otherwise.
Explorans limites defectum

GeneralRe: Morons Pin
Daniel Pfeffer21-May-19 7:12
professionalDaniel Pfeffer21-May-19 7:12 
GeneralRe: Morons Pin
Dean Roddey21-May-19 7:20
Dean Roddey21-May-19 7:20 
GeneralRe: Morons Pin
BillWoodruff21-May-19 19:06
professionalBillWoodruff21-May-19 19:06 
GeneralRe: Morons Pin
Gary Wheeler21-May-19 7:03
Gary Wheeler21-May-19 7:03 
GeneralRe: Morons Pin
Marc Clifton21-May-19 9:25
mvaMarc Clifton21-May-19 9:25 
GeneralRe: Morons Pin
Gary Wheeler22-May-19 1:34
Gary Wheeler22-May-19 1:34 
GeneralRe: Morons Pin
Jörgen Andersson21-May-19 9:22
professionalJörgen Andersson21-May-19 9:22 
GeneralRe: Morons Pin
BillWoodruff21-May-19 19:02
professionalBillWoodruff21-May-19 19:02 
GeneralRe: Morons Pin
jschell23-May-19 5:11
jschell23-May-19 5:11 
GeneralRe: Morons Pin
Member 916705721-May-19 22:13
Member 916705721-May-19 22:13 
GeneralRe: Morons Pin
SeattleC++22-May-19 5:04
SeattleC++22-May-19 5:04 
GeneralRe: Morons Pin
MSBassSinger22-May-19 5:41
professionalMSBassSinger22-May-19 5:41 
GeneralRe: Morons Pin
TNCaver22-May-19 6:28
TNCaver22-May-19 6:28 
GeneralRe: Morons Pin
BillWoodruff22-May-19 22:51
professionalBillWoodruff22-May-19 22:51 
GeneralRe: Morons Pin
TNCaver23-May-19 4:39
TNCaver23-May-19 4:39 
GeneralRe: Morons Pin
BillWoodruff23-May-19 7:06
professionalBillWoodruff23-May-19 7:06 
GeneralRe: Morons Pin
jschell23-May-19 5:13
jschell23-May-19 5:13 

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.