码迷,mamicode.com
首页 > 编程语言 > 详细

c++builder XE6 Remote Debuger 远程调试

时间:2014-09-01 19:24:03      阅读:326      评论:0      收藏:0      [点我收藏+]

标签:http   os   io   ar   文件   art   sp   on   c   

1、远程目标机器

安装D:\Program Files (x86)\Borland\Remote Debugger\20,没有光盘从已安装的xe6电脑上Bin目录下拷贝文件

  1. bccide.dll
  2. bordbk200.dll
  3. bordbk200N.dll
  4. comp32x.dll
  5. DCC32200.dll
  6. rmtdbg200.exe

注册dll文件

regsvr32 bordbk200.dll
regsvr32 bordbk200N.dll

运行rmtdbg200.exe启动后处于监听状态

2、开发环境机器

c++builder直接编译完成后(不像delphi那有需要生成rsm和更改选项),生成tds和exe文件拷贝到远程目标机器上。

然后Run > Attach to Process 输入目标机器IP,refresh测试是否连通

Run > Load Process > Remote

 

Remote Path :D:\bin\Project2.exe

Remote Host:192.168.24.88

Parameters:不用填

点Load 按钮就运行在 远程目标机器上就运行了,不是开发机器上哦。

加上断点,第一次有cpu窗口,关闭后就跟到源码了。

目标机器上的Project2.exe和Project2.tds要和开发机器上一样,多次调试可以把Final Output设置成目标机器路径共享一下,有可写权限。

以后就不用为远程上特殊的环境发愁,直接远程调试了。

http://docwiki.embarcadero.com/RADStudio/XE6/en/Overview_of_Remote_Debugging

http://docwiki.embarcadero.com/RADStudio/XE6/en/Installing,_Starting,_and_Stopping_the_Remote_Debug_Server

http://docwiki.embarcadero.com/RADStudio/XE6/en/Installing_a_Debugger_on_a_Remote_Machine

c++builder XE6 Remote Debuger 远程调试

标签:http   os   io   ar   文件   art   sp   on   c   

原文地址:http://www.cnblogs.com/cb168/p/3949758.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!