使用 Delphi 2010 进行远程调试时没有断点 - 所以卡在 Delphi 7 上

发布于 2024-10-10 04:48:49 字数 433 浏览 4 评论 0原文

在去年 8 月的初步调查之后,我又重新开始使用 Delphi 2010 进行远程调试。我已确保 D2010 具有更新 4 和 5,并且远程调试器是 Embarcadero 网站上的最新版本。按照此处非常有用的说明,我可以加载远程进程并正常运行它,但我无法使用断点。 RSM 和 EXE 文件位于远程目录中。

有什么我应该检查的吗?我可以手动加载符号表吗?似乎不需要调试器设置,但是我可以强制执行某些操作来强制 D2010 加载我的符号表吗?

这是现在让我继续使用 Delphi 7 的唯一问题 - 我有几台生产机器无法安装 IDE 进行调试,而且我确实需要某种远程调试支持。

推论 - XE 对远程调试的支持是否更好?

谢谢, 布莱恩.

I've come back to looking at remote debugging with Delphi 2010 after my initial investigation last August. I've made sure that D2010 has updates 4&5 and that the remote debugger is the latest from the Embarcadero wesite. Following the very useful instructions here I can load the remote process and run it fine, but I cant use breakpoints. The RSM and EXE files are together in the remote directory.

Is there anything I should check? Can I load the symbol table manually? There seem to be no debugger settings required, but could I force something to force D2010 to load my symbol table?

This is the only problem now keeping me on Delphi 7 - I have several production machines that cannot have the IDE installed for debugging, and I really do need some kind of remote debugging support for these.

As a corollary - is the support for remote debugging any better for XE?

Thanks,
Brian.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

£噩梦荏苒 2024-10-17 04:48:49

您应该遵循该 wiki 链接,但我通常不会将 RSM 文件分开,我通常将 TD32(远程调试)符号直接链接到主 EXE 中,这样效果更好。

我写了一些维基百科。我的经验是:

(1)delphi 7仍然是最可靠的远程调试器。

(2) Delphi 2009、2010 和 XE 工作得很好,而且一直在变得更好,我发现的唯一剩下的问题是,有时您可能必须重新启动两台计算机,才能启动远程调试代理。

无法设置断点或看到那些指示调试信息可用的蓝色圆圈通常意味着您应该修改项目链接器设置。

我经常使用 2009、2010 和 XE 远程调试器,而且它们很有效。

You should follow that wiki link, but I don't usually keep the RSM file separate, I usually link the TD32 (remote debug) symbols right into the main EXE, it works better.

I wrote some of that wiki. My experience is that:

(1) delphi 7 is still the most reliable remote debugger.

(2) Delphi 2009, 2010, and XE work very well, and have been getting better, and the only remaining gotcha that I have found is that you might have to restart both your computers sometimes, in order to get the remote debug agent up.

Inability to set breakpoints, or to see those blue circles that indicate that debug info is available usually means you should modify your project linker settings.

I have used 2009, 2010, and XE remote debuggers heavily, and they work.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文