How to debug program running on a different computer?

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.
 
D

Derrick Coetzee [MSFT]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top