For remote debugging, you must install the Remote Debug Monitor on the remote machine. The Remote Debug Monitor is a small program that communicates with the debugger host and controls the execution of the program you are debugging.
To install the Remote Debug Monitor
The Remote Debug Monitor installs the following files during setup.
File | Windows 95 | Windows 98 | Windows NT 4 | Windows 2000 |
---|---|---|---|---|
msvcmon.exe | X | X | X | X |
natdbgdm.dll | X | X | X | X |
natdbgtlnet.dll | X | X | X | X |
msdis110.dll | X | X | X | X |
msvcp60.dll | X | X | X | X |
msvcrt.dll | X | X | X | X |
psapi.dll | X | X | ||
msdbg2.dll | X | X | X | X |
mdm.dll | X | X | X | X |
cpde.dll | X | X | X | X |
pdm.dll | X | X | X | X |
metade.dll | X | X | X | X |
shmetapdb.dll | X | X | X | X |
msvb7.dll | X | X | X | X |
C++/C# EE (filename TBD) | X | X | X | X |
PDB symbol handler (filename TBD) | X | X | X | X |
On Windows NT Windows 2000, the Remote Debug Monitor runs as a service. On Windows 95 and Windows 98, it runs as an application that you can launch from the Start menu.
Note The following message might appear when you try debugging a remote machine:
The VC++ Debug Monitor is not correctly installed and running on machine "remotemachine".
This message means that the debugger did not find the debug monitor running on the remote machine. Start the debug monitor on the remote machine before beginning the debug process.
Note Another message you might receive when you try debugging a remote machine is:
Cannot open file "G:\<filename>" on remote machine.
Verify the filename and check to be sure the file path is correct on the remote target machine.