本文共 616 字,大约阅读时间需要 2 分钟。
*假设调试机IP 192.168.0.182 远程机IP 192.168.0.161 *远程机为调试机分配权限,使调试机可以使用远程桌面登陆到远程机器上(这样调试起来方便)。 调试机上安装visual studio .net 2003 共享调试机上的Visual Studio上的远程调试目录(以机器为例) C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\Debugger *远程机将上面的共享目录考贝到本地,比如:d:\\Debugger *调试机共享要调试的程序所在目录,比如:D:\important\cvsroot\dv-to-dvd\bin\debug *远程机将调试机上的目录影射为本地目录。比如:Z:\\ *远程机上以命令行形式执行 D:\\Debugger\msvcmon.exe –tcpip –anyuser *调试机启动vc. 打开要调试的工程。比如dvtodvd. 选择菜单project->properties 选debuging->remote setting Connection :Remote via TCP/IP (Native only) Remote machine: 192.168.0.161 Remote Command: z:\dvtodvd.exe *debug->start *就可以调试了。 转载地址:http://amefb.baihongyu.com/