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

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

grails record upload problems

how i emanate permitted url asp.net mvc?