1

I am developing a Wp7 application, and I am running into a server exception when calling certain methods. I have access to the server where the services are hosted, but I can't see how I can debug or get more information out of the exception so that I can handle it.

Thank you for the help.

user1027620
  • 2,745
  • 5
  • 37
  • 65

1 Answers1

1

You could subscribe to the Application_Error event in Global.asax that is triggered on each unhandled exception and log the error details.

If you have control over the remote server you could also install the Remote Debugging Tools and step through the code.

Community
  • 1
  • 1
Darin Dimitrov
  • 1,023,142
  • 271
  • 3,287
  • 2,928
  • You can install it. Simply copy the contents of the `C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Remote Debugger` folder to the remote server and start the `msvsmon.exe`. Then you can attach a local VS instance to the remote server and debug the code. This obviously assumes that you have deployed the same debugging PDB symbols as the source code you have. – Darin Dimitrov May 01 '12 at 10:54