object reference error RRS feed

  • Question

  • Hi,

    During development, we usually see the Object reference error whenever there is a reference variable that is not initialized . During development, it’s easy to figure out which line of code was causing the problem. However, when the code is deployed to production, it will be very difficult to trouble shoot the “object reference not set to an instance” error. We will not be knowing which reference variable is not initialized if there are many reference variables.

    I wanted to know is there any way to find the reference variable name which caused this error.



    Thanks, Mallikarjun

    Wednesday, December 5, 2012 11:36 AM


All replies