Delphi远程调试器冻结 [英] Delphi Remote Debugger Freezing up

查看:85
本文介绍了Delphi远程调试器冻结的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有运行Delphi 2007应用程序的Windows Server 2008 R2计算机.更新:当前无法选择切换Delphi版本.我有Delphi XE,但是在进行任何切换之前,有300,000多行代码需要检查.

I have Windows Server 2008 R2 Machine that is running a Delphi 2007 application. Update: Switching Delphi versions is currently not an option. I have Delphi XE but there are over 300,000 lines of code to review before any switch can occur.

我遇到了一个我想单步执行代码的问题.我不想在计算机上安装Delphi,所以我已经安装了远程调试器.

I have run into a problem where I would like to step through the code. I don't want to install Delphi on the machine, so I have installed the remote debugger.

已更新的步骤更完整:

  1. 使用远程调试符号编译应用程序
  2. 将应用程序和远程调试符号复制到远程位置.
  3. 在远程计算机上启动命令提示符(以管理员身份运行).
  4. 为rmtdbg105进程启用了服务器防火墙例外.
  5. 在命令提示符下运行 rmtdbg105 -listen
  6. 我运行要调试的进程.
  7. 在本地计算机上,我选择附加到进程",然后选择远程进程.
  8. 按附加

观察到的行为:远程进程锁定并停止运行,我的计算机上的Delphi也是如此.

Behavior observed: Remote Process locks up and stops running, and so does Delphi on my machine.

我已经等了几分钟,以防它是由某种类型的网络性能问题引起的.

I have waited several minutes just in case it caused by some type of network performance problem.

我缺少步骤吗?我正在寻找一种使它起作用的方法.

Is there step I am missing? I am looking for a way to get this to work.

推荐答案

移回Delphi 7,或回到Delphi XE,然后重试.[升级到XE可能需要一些工作,因为您需要将源代码移植到unicode delphi语言级别.]

Move back to Delphi 7, or up to Delphi XE, and try again. [Moving up to XE might be a bit of work, because you need to port your sources up to unicode delphi language level.]

我从未没有使Delphi 2007远程调试可靠地工作.当我使用Delphi 2007时,您也看到了一些冻结的信息.我发现,最近重启PC时,冻结的频率降低了.重新启动后,您可能会得到更多使用,然后再重新启动.

I never did get Delphi 2007 remote debug to work reliably. The freeze-ups you see are something I remember too, when I was using Delphi 2007. I found that it froze less often when the PC had been rebooted recently. After a reboot you might get a few more uses, before you need to reboot again.

这篇关于Delphi远程调试器冻结的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆