Remote Debbuging
When you remotely debug an application is, it will be noted that several points must be noted that the goal is reached. Hopefully some useful information I want to share with this: first
Remote debugging means debug to the local Visual Studio is an application running on another machine, typically a server.
second The application code (dll and pdb files) must be identical on both systems.
third On the remote machine the remote debugger, in particular the file msvsmon.exe be present. On the local machine must be available Visual Studio.
4th The local account (under the Visual Studio is running) must have administrator privileges on the remote system, so that Visual Studio can attach it.
5th On the remote system, the remote debugger (msvsmon.exe) under the local account (same as in Visual Studio is running), start (in the context menu Run as Run ...).
6th In Visual Studio has the Tools, Options, Debugging, General option "Enable Just My Code 'to be inactive before the icon to load and Breakepoints can be set.
7th In Visual Studio can now be linked to Debug, Attach to Process the remote process. This transport: Default and qualifier: SERVERNAME select. Now the desired process, select, for example W3wp.exe. If the desired process is not listed, make sure that the application is really running. This call for example, the Web page.
8th Now debug as usual.
Have fun.
0 comments:
Post a Comment