Link to home
Start Free TrialLog in
Avatar of nahumba
nahumba

asked on

Remote debugging - Visual Studio 2005

Hi everyone,

I need to debug my application on a remote server which I am connected to - through VPN.

How should I setup remote debugging?
* I don't have physical access to that server (it's far far away :-)) *

I'm using Visual Studio .net 2005 - my code is VB.NET.

Thanks!
Avatar of Justin_W
Justin_W

Instructions are here:
http://support.microsoft.com/kb/910448

However, note that you won't be able to perform remote debugging until the server is configured to support/allow it as specified in the above KB article. This can be a one time server setup if you always want remote debugging enabled. Otherwise, you'll need to start the Remote Debugging Monitor (Msvsmon.exe) every time you want to enable remote debugging, then stop it when you're done.
Avatar of nahumba

ASKER

Hi Justin_W,

My problem is, that Visual Studio is not installed on the remote server.

What other options do I have in order to enable remote debugging - as I wrote on my last post - I don't have a physical access to that specific server.

Thanks!
You don't need VS.NET installed on the remote server, but you _do_ need Msvsmon.exe to be installed, configured, and running on the remote server. If it isn't already installed and running on the server, and if you can't get anyone to do it for you, then _you can't perform remote debugging_ on that server until/unless it is. There is _no_ way to do remote debugging unless the server is configured to allow it, because otherwise that would be a major security hole in the server.

From http://support.microsoft.com/kb/910448:
**************
The Remote Debugging Monitor (Msvsmon.exe) is a small application that Visual Studio 2005 connects to for remote debugging. During remote debugging, Visual Studio 2005 runs on one computer (the debugger host) and the Remote Debugging Monitor runs on the remote computer along with the application you are debugging.

The Remote Debugging Monitor runs as a Microsoft Windows application. The user interface shows that the Remote Debugging Monitor is running and makes remote debugging easy to set up.
**************
Avatar of nahumba

ASKER

I have the 'msvcsmon.exe' on my local pc.

Assuming I will be able to copy this file ONLY onto the remote server, and make all required actions, will I be able to debug remotely?
ASKER CERTIFIED SOLUTION
Avatar of Justin_W
Justin_W

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nahumba

ASKER

Thanks Justin, I'll give it a try - and let you know as soon as I can.
OK. Good luck.