I have a webservice written in C#.NET on VS2008, with framework 3.5. I'm catching errors in my webservice with try/catch block. The catch does something like this:
strStatus = "Problem in xyz program"
What I'd like is to return the exact method and line number that caused the problem. Is that possible? I don't want to chase things like "object not set to instance of an object" anymore!