First chance exceptions...

G

Guest

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.
 
P

Page Brooks

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.
 
G

Guest

Thank you, Page.

Page Brooks said:
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


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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top