vc++如何?遠端偵錯

來源:互聯網
上載者:User
*假設調試機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 settingConnection :Remote via TCP/IP (Native only)Remote machine: 192.168.0.161Remote Command: z:/dvtodvd.exe*debug->start*就可以調試了。

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.