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.

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.