How to debug remotely by VC6

| | 评论(0)

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

分类

发表评论

关于此日记

此日记由mach发表于2004年8月 2日 12:43

此Blog上的上一篇日记三里屯

此Blog上的下一篇日记Murphy's Law and Others

主索引归档页可以看到最新的日记和所有日记。

Powered by Movable Type 4.0