Remote debugging doesn't break errors

I'm new to remote debugging in Visual Studio and I mean I've never done this before. Here are the steps I took to try and remotely debug an application on one of the servers on our network:

  • open website in VS2008 "\\ server \ website"
  • Start the msvsmon service on the "server" with "no authentication" and "allow any user to debug"
  • From VS2008, Join the w3wp process on the "server" using a remote transport.

debugging starts and everything looks fine, but when I go to the error page it doesn't break and allows me to debug. Did I miss something?

+2


source to share


2 answers


You need to make sure the PDB files are loaded correctly.

Visual Studio will look in this remote location for PDB files (which contain debugger information), and if it doesn't find them, it doesn't have the required debug symbols to break.

To add the pathname to the list of symbol file locations (.pdb or .dbg)



  • From the Tools menu, choose Options.
  • In the Options dialog box, click the Debug node to open it.
  • In the Debugging section, select the Symbols category.
  • The Symbols page has a field that specifies the locations of the symbols file (.pdb). There are four icons above the box. Click the folder icon and the editable text appears in the Symbol File (.pdb) file field.
  • Edit the text to add a new path. Completing your statement will help you get the format right.
  • Make sure to search for the above locations only if symbols are manually loaded, not selected unless you want to manually load symbols when debugging.
  • If you are using symbols on a remote symbol server, you can improve performance by specifying a local directory where symbols can be copied. To do this, use the symbols in the cache from the symbol server in this directory. Note that if you are debugging a program on a remote computer, the cache directory refers to a directory on the remote computer.
  • Click OK.

http://msdn.microsoft.com/en-us/library/x54fht41.aspx

+9


source


Here's a checklist .



+1


source







All Articles