attaching .net debugger while still providing useful logging death


i have kind catch-all exceptions apparatus bottom code, an app terminates astonishing i still yield useful logging.



something along lines of



static vacant sure () {
(debugger.isattached)
runapp();
else {
try {
runapp();
}
locate (exception e) {
logexception(e);
throw;
}
}
}


while works fine, problem i wish insert debugger after difference raised.



since difference escapes runtime, windows prompt insert visible studio, except, given rethrown, locals parameters offer adult smoke-stack have lost.



is there anyway record exceptions, while still providing proceed insert debugger keep useful information?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?