I'm trying to correct a null reference exception in a Mvc Controller. I can't debug in Visual Studio because there are query to a database reachable only on the server. Now I have to read all the code and correct all the situation that might causes the exception or there is another way to know which is the exact variable accessed with null value? The debug yellow screen only tells me that the exception is inside the controller's code.
Thanks.