Delphi 2010远程调试时没有断点 - 所以停在Delphi 7上 [英] No breakpoints when Remote debugging with Delphi 2010 - so stuck on Delphi 7

查看:182
本文介绍了Delphi 2010远程调试时没有断点 - 所以停在Delphi 7上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

去年8月份我初步调查后,我回到了Delphi 2010的远程调试。我已经确定D2010有更新4& 5,远程调试器是Embarcadero wesite的最新版本。遵循非常有用的说明这里我可以加载远程进程并运行它,但我不能使用断点RSM和EXE文件在远程目录中。



有什么需要检查的吗?我可以手动加载符号表吗?似乎没有需要调试器设置,但是我可以强制某些东西强制D2010加载我的符号表?



这是唯一的问题,现在让我在Delphi 7 - 我有几台生产机器无法安装IDE进行调试,我真的需要一些远程调试支持。



作为推论 - 是支持为了远程调试更好的XE?



谢谢,
Brian。

解决方案

你应该遵循那个wiki链接,但是我通常不会将RSM文件保持分开,我通常将TD32(远程调试)符号链接到主EXE中,它的工作更好。



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



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



(2 )Delphi 2009年,2010年和XE工作得很好,并且一直在变好,我发现唯一剩下的一个问题是,有时候您可能需要重新启动两台计算机才能使远程调试代理程序起作用。 / p>

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



我已经使用了2009年,2010年和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.

解决方案

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.

这篇关于Delphi 2010远程调试时没有断点 - 所以停在Delphi 7上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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