![]() ![]() Next you need to connect to the server from visual studio so you can attach to the w3wp process. That’s it for the server side in most cases. After you complete the wizard you can start the Remote Debugger Monitor by running the program from the server’s start menu. Running that will allow you to specify the account for the service to run under, or if you prefer, set up the monitoring tool to run as a user account instead of a service. Once you install the service, you’ll find a link to the remote tools configuration wizard in the start menu on the server. To get started, you need to install the Visual Studio Remote Tools on the server you want to debug remotely. Microsoft has made the setup of this magical feature pretty simple, but there are a few gotcha’s that always cause me headaches. While generally dog slow, this capability is invaluable when mysterious problems crop up in another environment. ![]() Remote debugging in Visual Studio allows you to step through code, set breakpoints, review objects, inspect the stack, and catch errors on a remote server just as if you were running the code locally. ![]() To find out exactly what’s happening in that environment, you need to set up remote debugging. Some issues can only be reproduced on the different hardware running as a different service account etc. As is the custom, the code which works perfectly in your local environment rarely works as perfectly in your remote test environment.
0 Comments
Leave a Reply. |