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

First chance exceptions...

P: n/a
VStudio 2005 Pro. In the Immediate window for a running application I
continually see lines like

A first chance exception of
type'System.Runtime.InteropServices.COMException' occured in [program
name.exe]

These lines do not cause the application to stop functioning. I have also
noticed a few system.data first chance exceptions. How do I determine which
line of code is generating these lines/exceptions? Are they cause for
concern?

Thanks a lot.
May 9 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Go to Debug->Exceptions (Ctrl+D, E). From here, you can determine how you
want the IDE to respond to the exception. This will allow you to pinpoint
where the exception stems from.

--
Page Brooks
www.explosivedog.com
<msnews.microsoft.comwrote in message
news:ea**************@TK2MSFTNGP05.phx.gbl...
VStudio 2005 Pro. In the Immediate window for a running application I
continually see lines like

A first chance exception of
type'System.Runtime.InteropServices.COMException' occured in [program
name.exe]

These lines do not cause the application to stop functioning. I have also
noticed a few system.data first chance exceptions. How do I determine
which line of code is generating these lines/exceptions? Are they cause
for concern?

Thanks a lot.


May 9 '07 #2

P: n/a
Thank you, Page.

"Page Brooks" <NO**************@gmail.comwrote in message
news:OX**************@TK2MSFTNGP03.phx.gbl...
Go to Debug->Exceptions (Ctrl+D, E). From here, you can determine how you
want the IDE to respond to the exception. This will allow you to pinpoint
where the exception stems from.

--
Page Brooks
www.explosivedog.com
<msnews.microsoft.comwrote in message
news:ea**************@TK2MSFTNGP05.phx.gbl...
>VStudio 2005 Pro. In the Immediate window for a running application I
continually see lines like

A first chance exception of
type'System.Runtime.InteropServices.COMExceptio n' occured in [program
name.exe]

These lines do not cause the application to stop functioning. I have
also noticed a few system.data first chance exceptions. How do I
determine which line of code is generating these lines/exceptions? Are
they cause for concern?

Thanks a lot.



May 9 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.