By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,818 Members | 1,381 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,818 IT Pros & Developers. It's quick & easy.

Get debugging to stop on line executing when error occurs

P: n/a
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
Nov 18 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message
news:ku*******************@news01.bloor.is.net.cab le.rogers.com...
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

Nov 18 '05 #2

P: n/a
Great thanks.

Lloyd Sheen

"Christophe Gijbels" <Gi*****@NOSPAMpandora.be> wrote in message
news:QU*********************@phobos.telenet-ops.be...
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
"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message news:ku*******************@news01.bloor.is.net.cab le.rogers.com...
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


Nov 18 '05 #3

P: n/a
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

"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in message
news:Bd********************@news01.bloor.is.net.ca ble.rogers.com...
Great thanks.

Lloyd Sheen

"Christophe Gijbels" <Gi*****@NOSPAMpandora.be> wrote in message
news:QU*********************@phobos.telenet-ops.be...
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
"Lloyd Sheen" <sq*******************@tostopspamhotmail.com> wrote in

message
news:ku*******************@news01.bloor.is.net.cab le.rogers.com...
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



Nov 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.