How to debug remotely by VC6
How to debug remotely by VC6
1. Have a look of the MSDN article "remote debug monitor". Copy MSVCMON.EXE, MSVCRT.DLL, TLN0T.DLL, DM.DLL, MSVCP6O.DLL, MSDIS110.DLL, PSAPI.DLL and the binary debug executable file to remote target machine. MSVCRT.dll should be in the System32 directory. Other files should be in a shared directory. Restart machine.
2. Launch VC and open the project, fill in project setting->Debug->Remote executable path and file name, eg. \\teststation1\remote\test.exe
3. Open menu Build->Debugger Remote Connection..., select "TCP/IP" and click setting, fill the local machine info, eg, \\teststation1
4. Go to remote machine, run msvcmon.exe, set the local machine name in the settings, eg, \\workstation1, then click start.
ps. You can also fill in the ip address instead of the machine name.
5. Debugging right now.
posted 2004.08.02 Monday
分类
Technology

发表评论