Friday, 21 March 2014

A first chance exception of type 'System.NullReferenceException' occurred in program.exe


"A first chance exception of type 'System.NullReferenceException' occurred in program.exe"

The debugger will just exit out of the function only leaving this message and go through the rest of the program? How to break at the point this exception throws?

Go to Debug - > Exception (Ctrl + Altre+E) and click on Find. Select the Exception and tick the Thrown check box.

No comments:

Post a Comment