Can I throw some text in the stack trace?
My application already has a grip on the exceptions thrown. But would like to have some more information on some methods (parameters).
The idea was to do something like
StackTrace.Insert (0, "argument:" + test);
I know this is not cool, but is it possible?
Create the exception, and put the parameters in the Data dictionary property. Then throw the exception…