This certainly opens up some interesting posabilities. I
would like to see a set of attributes that act as
breakpoint hints. i.e...
[PreCondition("x!=null")]
void method(string x)
{
int length = x.Length;
// blar blar
}
A tool (dare I say it, add-in) could be asked to enable
breakpoint hints. It would go through the code and set
conditional breakpoints wherever it sees these hint
attributes.
The same could be done for method enter, leave,
exception style tracing.
Just a thought... ;)
Is there a quick way to set a breakpoint at the
beginning of every function in a particular file? (i.e.
do it with a single command instead of manually setting
a breakpoint in every function).