how to halt on some errors

  • Thread starter Thread starter buu
  • Start date Start date
B

buu

how could I set up mz vs 2005 to halt on some errors even if there is an
exception handler?
(in debug mode)
 
how could I set up mz vs 2005 to halt on some errors even if there is an
exception handler?
(in debug mode)

Debug -> Exceptions. If it isn't on the Debug menu, right-click in
the toolbar area, click on Customize, click on Debug in the left
panel, find Exceptions in the right, and drag it to the Debug menu (or
wherever you want it).

In the Debug -> Exceptions dialog, to stop on all exceptions check the
Thrown checkbox next to Common Language Runtime Exceptions. To only
stop for some exceptions, click on the + and choose the ones you want.
Those for which you check Thrown will stop in the debugger before the
exception handler gets control.
 
Back
Top