Is there any way to find the object name that caused the control to flow into the catch block from a NullReferenceException, so that we can easily debug by giving an alert o
Well you can look at the stack trace, reflect the function, and display the parameters and have a guess based on stack state, but I'd say not really as the object could be anywhere in the function.