Can't track an exception

R

Ronny

I use VS2008 sp1.
When I run my application it usually popes up an exception saying "Object
reference not set to an instance of an object". By the way, running secondly
works fine.
Problem is that I run it from a debugger, and I can't catch the place where
its created.
Can someone advise please?
Regards
Ronny
 
R

Ronny

Thanks,
Can't I narrow down the regun by some configuration in the IDE or in the
code?
Regards
Ronny
 
P

Patrice

Hello,
Can't I narrow down the regun by some configuration in the IDE or in the
code?

Have you tried "Debug" "Exceptions" in your VS menus ? It allows to define
the behavior you want depending on the kind of exception...
 

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