Can't track an exception

  • Thread starter Thread starter Ronny
  • Start date Start date
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
 
Thanks,
Can't I narrow down the regun by some configuration in the IDE or in the
code?
Regards
Ronny
 
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...
 
Back
Top