delphi 2007 远程调试

Remote debugging lets you debug a RAD Studio application running on a remote computer. Once the remote debug server is running on the remote computer, you can use RAD Studio to connect to that computer and begin debugging.

Prerequisites and security considerations for remote debugging

  • The local and remote computers must be connected through TCP/IP.

  • All of the files required for debugging the application must be available on the remote computer before you begin debugging. This includes executables, DLLs, assemblies, data files, and PDB (debug) files.
  • In addition to the port that the remote debug server listens on, a connection is opened for each application that is being debugged. Additional port numbers are chosen dynamically by Windows; a firewall that only allows connections to the listening port will prevent the remote debugger from working.

Warning: The connection between RAD Studio and the remote debug server is a simple TCP/IP socket, with neither encryption nor authentication support. Therefore, the remote debug server should not be run on a computer that can be accessed over the network by untrusted clients.

To install and start the remote debug server

  1. If RAD Studio is installed on the remote computer, skip to step 4. In this case, the remote debug server (rmtdbg105.exe) is already available, by default, atC:\Program Files\CodeGear\RAD Studio\6.0\Bin.

  2. Copy rmtdbg105.exe from the RAD Studio\bin directory on your local computer to the directory of your choice on the remote computer. If you are debugging a managed application, also copy dbkpro<nnn>.dll
  3. If you are debugging a managed application, register dbkpro<nnn>.dll on the remote computer by running the regsvr32.exe registration utility. For example, on Windows XP, enter C:\Windows\System32\regsvr32.exe dbkdebugproide<nnn>.bpl at the command prompt.
  4. On the remote computer, run rmtdbg105.exe using the following syntax: rmtdbg105.exe [-listen [hostname:]port] where:
    1. hostname is an optional host name or TCP/IP address for binding to a particular host, for example, somehost or 127.0.0.1. If you specify hostname, you must also specify :port.

    2. port is an optional (required if hostname is specified) port number or standard protocol name, for example, 8000 or ftp. If omitted, 64447 is used as the port number. Examples:
    3. rmtdbg120.exe
    4. rmtdbg120.exe -listen 8000
    5. rmtdbg120.exe -listen somehost:8000
    6. rmtdbg120.exe -listen 127.0.0.1:8000

After the remote debug server is started, its icon appears in the Windows taskbar.

To shut down the remote debug server

  1. On the remote computer, in the Windows taskbar, right-click the CodeGear Remote Debugger Listener icon.

  2. In the shortcut menu, choose Exit.

Shutting down the remote debug server does not affect active debugging sessions.

时间: 2024-10-10 06:40:04

delphi 2007 远程调试的相关文章

DELPHI XE8 远程调试

最近公司项目遇到问题需要远程调试搜索了一下怎么用 发现网上能找到最新的是XE2上的说明现在已经有一些不同了 按照上面的方法不能调试成功 经过测试XE8的方法如下:1.项目编译设置:2.在被调试电脑上运行setup_paserver.exe文件可以从DELPHI电脑的目录C:\Program Files (x86)\Embarcadero\Studio\16.0\PAServer\setup_paserver.exe下拷贝过去安装3.安装完成后运行PSERVER就OK,密码可以为空.4.调试IDE

c++ builder xe2 (Embarcadero rad studio) 远程调试 同样适用于 delphi 远程调试 教程

转载:http://www.cnblogs.com/zhangdongsheng/p/3411056.html 每次要远程调试的时候都要看半天的xe2英文帮助文档,今天正好有点时间,把它写下来. 一.概述: 首先说明一下,c++ builder 远程调试有两种方式的,一种是被称为是老式的调试方法,这种方法是在远程机器上安装Debugger 也就是其实也就是运行PAServer的rmtdebug163.exe来运行调试的,但是这种方法貌似只能以启动进程的方式调试程序,而不能附加已经存在的进程.而今

Delphi 2007体验!

Delphi 2007体验! baidu 内容摘要:CodeGear(From Borland) 公司公布了最新的Delphi 2007 For Win32版本号.作为一个 Delphi 的使用者,第一时间下载.安装并进行了体验,现将一些使用感受记录例如以下 CodeGear(From Borland) 公司公布了最新的Delphi 2007 For Win32版本号.作为一个 Delphi 的使用者,第一时间下载.安装并进行了体验,现将一些使用感受记录例如以下: 注:以下的对照主要是针对Del

Eclipse远程调试应用程序

第一步,在应用程序的配置文件run.xml中加入下面的配置项,启动应用程序: <target name="run" depends="checkBuilderFailedLogExist">  <!--ant antfile="../DBSchema/main.xml" target="run-all" /-->   <java classname="com.raisecom.nms.c

c++builder XE6 Remote Debuger 远程调试

1.远程目标机器 安装D:\Program Files (x86)\Borland\Remote Debugger\20,没有光盘从已安装的xe6电脑上Bin目录下拷贝文件 bccide.dll bordbk200.dll bordbk200N.dll comp32x.dll DCC32200.dll rmtdbg200.exe 注册dll文件 regsvr32 bordbk200.dllregsvr32 bordbk200N.dll 运行rmtdbg200.exe启动后处于监听状态 2.开发环

使用gdbserver远程调试

转载:http://my.oschina.net/shelllife/blog/167914 gdbserver工具 先确定默认crosstool交叉编译器是否有自带gdbserver,如果有就不需要自行编译.一般都会带有对应的gdbserver工具,可以通过find命令查找确定: [email protected]:~/work/system$ which arm-none-linux-gnueabi-gcc /opt/arm-2009q3/bin/arm-none-linux-gnueabi

Tomcat配置远程调试端口(windows、Linux)

当我们需要定位生产环境问题,而日志又不清晰的情况下,我们可以借助Tomcat提供的远程调试,设置如下: // Linxu系统: apach/bin/startup.sh开始处中增加如下内容: declare -x CATALINA_OPTS="-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8081" // Windows系统:

Tomcat使用MyEclipse远程调试Java代码配置详解

Tomcat使用MyEclipse远程调试Java代码总结如下:在做远程调试时,在windows系统和非windows系统下的配置,Tomcat中会有所差别,具体如下: 第一步.配置tomcat一.在windows系统中:打开%CATALINE_HOME%/bin下的文件catalina.bat,加入下面这行:set CATALINA_OPTS=-server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket

利用 Chrome 开发者工具远程调试 Android 中的原生 WebView

之前写过一篇关于 Android Studio 断点调试技巧 的文章,但都是针对 Native 代码的调试,对于 Hybrid 开发模式下的 WebView 却无从下手.幸运的是,PC 中的 Chrome 浏览器提供的开发者工具能够帮助我们远程调试 Android 中的 WebView 加载的网页. Android 4.4 (KitKat) 开始,使用 Chrome 开发者工具可以帮助我们在原生 Android 应用中远程调试 WebView 网页内容.一起来看看怎么操作吧. 第一步,设置 We