Get debugging to stop on line executing when error occurs

  • Thread starter Thread starter Lloyd Sheen
  • Start date Start date
L

Lloyd Sheen

Is there a setting in VS2003 to ensure that when debugging a page it will
stop on all errors. At present it just displays a page with the error but I
want it to stop at that line when the error occurs so I can see the
variables etc.

Lloyd Sheen
 
Hi Lloyd

Before you start debugging go to the menu choose Debug -> Exceptions... ->
Click "Common Language Runtime Exceptions" and then in de region "When the
exception is thrown" select "Break into the debugger"

Any CLR exception will break into the debugger and the corresponding line
(if possible) will be highlighted.

Kind regards

Christophe
 
Great thanks.

Lloyd Sheen

Christophe Gijbels said:
Hi Lloyd

Before you start debugging go to the menu choose Debug -> Exceptions... ->
Click "Common Language Runtime Exceptions" and then in de region "When the
exception is thrown" select "Break into the debugger"

Any CLR exception will break into the debugger and the corresponding line
(if possible) will be highlighted.

Kind regards

Christophe


but
 
Now there is another problem. Each time I debug, the program stops before
anything occurs, giving an error message "Access to ther path h8mtjjing.dll"
is denied (actually the dll name changes). If I continue things are ok but
this makes debugging a bit difficult and time consuming.

Lloyd Sheen
 
Back
Top