
Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
* Mark Rae [MVP] wrote, On 1-8-2007 0:51:
>> I usually set Visual Studio to break on all exceptions regardless of
>> if they're handled or not. that way you get an automatic breakpoint
>> the closest you can get to the actual error.
>
> Absolutely! Surely every serious developer does that...
Are you serious or being sarcatic?
I was pretty serious. There usually are ways of avoiding the exception
all together (additional validation, different method overload etc). So
when an exception is thrown I either document that it gets thrown at
that codepoint once in a while and haven't found a way to clear them up
or I solve the issue.
Ohh and should you not be able to find the 'Exceptions...' menu item in
the debug menu (it sometimes seems to disappear) you can add it by
right-clicking the menu, choosing customize and dragging it back into
the menu.
Jesse
Mark Rae [MVP] - 01 Aug 2007 09:43 GMT
>>> I usually set Visual Studio to break on all exceptions regardless of if
>>> they're handled or not. that way you get an automatic breakpoint the
[quoted text clipped - 3 lines]
>
> Are you serious or being sarcatic?
Perfectly serious.
> I was pretty serious.
Indeed.

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
Jesse Houwing - 01 Aug 2007 10:31 GMT
* Mark Rae [MVP] wrote, On 1-8-2007 10:43:
>>>> I usually set Visual Studio to break on all exceptions regardless of
>>>> if they're handled or not. that way you get an automatic breakpoint
[quoted text clipped - 9 lines]
>
> Indeed.
phew ;)
Jesse