How to debug program running on a different computer?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am writing a program that must be run on a specific server due to its
dependancy on the application we are writing for. VS .NET is installed on my
laptop and I installed the Remote Debugging components on the server. Now
how do I debug my program while running it on the server? It is a Console
program, so there is no interface, service, etc. to monitor.
 
Jeff said:
I am writing a program that must be run on a specific server due to its
dependancy on the application we are writing for. VS .NET is installed on my
laptop and I installed the Remote Debugging components on the server. Now
how do I debug my program while running it on the server? It is a Console
program, so there is no interface, service, etc. to monitor.

You can attach to a running process on another machine with Remote
Debugging components by going to Debug Processes in the Tools menu and
entering the name of the remote computer in the Name field. Change
Transport to "Native-only pipe" if you need to debug a native process.

If this doesn't work, it's possible your remote setup isn't quite right.
In that case, this article may help:

http://msdn.microsoft.com/library/d...ug/html/vctskinstallingremotedebugmonitor.asp
 
Back
Top