Delphi XE“将调试信息放在单独的 TDS 文件中”和“调试信息”

发布于 2024-11-30 12:54:40 字数 291 浏览 3 评论 0原文

Delphi XE 的项目链接选项多了一个新选项:

Place debug information in separate TDS file

编译项目时,以下组合有什么不同:

  1. 选中“调试信息”并选中“将调试信息放在单独的 TDS 文件中”
  2. 未选中“调试信息”并选中“放置调试信息”在单独的 TDS 文件中”

我觉得一旦选中、选中或取消选中“将调试信息放入单独的 TDS 文件中”,“调试信息”选项就不会在编译中发挥任何作用。

Delphi XE's project linking option has a new option:

Place debug information in separate TDS file

Is there any different with the following combination when compile a project:

  1. Checked "Debug Information" and Checked "Place debug information in separate TDS file"
  2. Unchecked "Debug Information" and Checked "Place debug information in separate TDS file"

I feel that once "Place debug information in separate TDS file" was checked, checked or unchecked "Debug Information" option doesn't play any role in the compilation.

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

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

发布评论

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

评论(2

江城子 2024-12-07 12:54:40

我猜想“调试信息”选项只是在 EXE 内部添加调试信息,即为某些外部调试器或分析器创建调试信息,这些外部调试器或分析器能够从 exe 中提取这些信息。有多种格式,但大多数都依赖于PE 分块格式

此选项与“将调试信息放在单独的 TDS 文件中”无关。

您可以选择其中之一,也可以选择两者,或者都不选择。

已编辑:更准确的答案

I guess that the "Debug Information" option is only to add debugging information inside the EXE, i.e. create debugging information for some external debuggers or profilers, which are able to extract those from the exe. There are several formats arounds, but most rely on the PE chunked format.

This option has nothing to do with "Place debug information in separate TDS file".

You can select either one, either both, either none.

Edited: more accurate answer

分开我的手 2024-12-07 12:54:40

Anecdotally, it also has an effect on remote debugging. See my findings in the comments to this blog post on XE remote debugging (which still doesnt work very well).

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