I am fairly new to remote debugging in Visual Studio, and by new I mean I have never done it before. Here are the steps I have taken to try to remotely debug an application on one of the servers in our network:
- open a website in VS2008 "\\server\website"
- Start the msvsmon service on "server" with "no authentication" and "allow any user to debug"
- From VS2008, Attach to the w3wp process on "server" using remote transport
debugging starts and everything seems ok, but when i go to the page with the error, it doesn't break and let me debug. Am I missing something?
You need to ensure you have the PDB files loaded correctly.
Visual Studio is going to look in that remote location for the PDB files (which contain the debugger information) and if it doesn't find them it doesn't have the necessary debug symbols to break on.
To add a pathname to the symbol file (.pdb or .dbg) locations list