When writing code in JScript, as I am wont to do as I have never been a fan of ASP.Net and Jscript is infinitely more elegant than VBScript, you can call upon the arguments collection. This is extremely useful to pass into error handlers as you can then output messages to development teams which tell them exactly what the state of the app was at the time of the error, down to what was passed to the procedure which errored. Because it is intrinsic there is no need to mess about, just pass it as an argument to your central exception handler.
My question is this: Is there anything similar in .Net, specifically VB?We inherited a shonky application which we have been steadily improving (most of it had no error handling to speak of) but one thing that I find very annoying is not having the details of what was in function arguments in the error reports the app emails to the dev group and mroe foten than not this information is key to the error itself.
Cheers all