本地xp+vc2005,远程win2k3。我把debug版本的程序放上去。问题:远程机器上是否需要安装什么软件,或者需要打开什么windows服务或者端口,我才能使用远程调试的功能?谢谢!

解决方案 »

  1.   

    vs安装光盘中的组件
    Microsoft Visual Studio Remote Debugging Monitor
      

  2.   

    http://support.microsoft.com/default.aspx?scid=kb;zh-cn;318041
      

  3.   

    给你说简单方法把C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86下的msvsmon拷贝到目标机即可,关闭防火墙、运行msvsmon时选择Tools ->Options 然后选择No Authentication 和 Allow any user to debug 。调式机project -> properties-> debuging中,
    Remote Command 填目标机中可执行程序的绝对路径 
    Working Directory  填目标机中可执行程序所在目录
    Remote Server name 填目标机的名字,可以直接填IP地址
    connection  选择  Remote with no authentication (Native only)在调试机的目录 C:\Program Files\Microsoft Visual Studio 8\VC\redist\Debug_NonRedist\x86\Microsoft.VC80.DebugMFC 
       里面有三个文件夹 Micorosft.VC80.DebugOpenMP,Microsoft.VC80.DebugCRT,Microsoft.VC80.DebugMFC
       将里面的所有文件复制到目标机的执行程序的当前目录