Tom,
| Not sure why the default is unchecked, I think when debugging we
| usually want to know where exactly is the problem
...
Generally only if I am debugging the exception handling itself.
Most of the time when debugging I want my try/catch blocks to catch the
exceptions, as that is their job. I really don't want to be "bothered" with
every exception, when debugging, as I am much more interested in the code
that I am debugging. The exceptions are generally unrelated to the code that
is currently being debugged.
Of course when the exception is related to the code being debugged, then
yes, by all means, I want to know exactly where the exception occurred &
what the stack (local variables, parameters) look like in that routine &
possibly the routines that called it...
--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley -
http://www.tsbradley.net
| Thanks Kerry. I can see it's slightly different here (2005), but works
| fine.
|
| Thanks, this is useful indeed!
|
| Not sure why the default is unchecked, I think when debugging we
| usually want to know where exactly is the problem
...
|
| -tom
|
| Kerry Moorman ha scritto:
|
| > Tom,
| >
| > In VS2003 choose Exceptions from the Debug menu. Select Common Language
| > Runtime Exceptions and click the Break into the Debugger option.
| >
| > I'm sure there is a similar option in VS2005.
| >
| > Kerry Moorman
| >
| >
| > "(e-mail address removed)" wrote:
| >
| > > It would be useful, sometimes, when debugging, to disable
| > > all the try /catch one has in the program (clearly not commenting them
| > > out).
| > >
| > > Any info or hint on that?
| > >
| > > -tom
| > >
| > >
|