|
-
Nov 1st, 2013, 12:34 PM
#4
Re: [RESOLVED] Debugging error: "Object reference not set to an instance of an object
That will do it.
There are some rare cases where the IDE doesn't take you to the actual line that caused the exception, but in most cases it will. As long as the IDE takes you to the line that thew the exception, this is a straightforward exception to diagnose....which is good, because it may be the single most common exception to get. The most common time that the IDE does NOT take you to the line that thew the exception is when the exception was thrown during class initialization. Those can get tricky.
My usual boring signature: Nothing
 
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|