调试设计时间包时启动Delphi时出错 [英] Error Starting Delphi When Debugging Design Time Package

查看:155
本文介绍了调试设计时间包时启动Delphi时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Delphi 2010的第二个实例中遇到了一个问题,用于调试设计时间包。在项目选项|调试器下,我使用C:\Program Files\Embarcadero\RAD Studio\7.0\bin\bds.exe作为主机应用程序与这些参数:-pDelphi -nocache p>

我运行包时收到以下错误消息:





如果我继续,我得到以下内容:





然后,如果我继续,我得到以下内容:





我做错了什么?这一直以来都是有效的。 (我已经修复并卸载/重新安装了Delphi 2010。)

解决方案

您已经安装了一个DDevExtensions的调试版本。此版本验证其GetProcAddress调用以显示缺少的符号(如果连接了调试器)。 DDevExtensions尝试挂接到bcbide140.bpl(C ++ Builder),但没有找到符号,因为没有加载BPL( bds -pDelphi ),它应该跳过钩子,但由于调试构建和一个附加的调试器它运行到断言。



调试构建的原因在于DDevExtensions的构建脚本: msbuild / p:Configuration = Release 而不是 msbuild / p:Config = Release 。 (所以感谢报告,所以我可以修复构建脚本)。


I've encountered a problem starting a second instance of Delphi 2010 for debugging a design time package. Under Project Options|Debugger, I use "C:\Program Files\Embarcadero\RAD Studio\7.0\bin\bds.exe" as the host app with these parameters: "-pDelphi -nocache"

I get the following error message when I run the package:

If I continue, I get the following:

Then, if I continue, I get the following:

What am I doing wrong? This has always worked before. (I have repaired and uninstalled/reinstalled Delphi 2010.)

解决方案

You have a debug build of DDevExtensions installed. This version verifies its GetProcAddress calls to show missing symbols if a debugger is attached. DDevExtensions tries to hook into bcbide140.bpl (C++Builder) but doesn't find the symbols because the BPL isn't loaded (bds -pDelphi).It should skip the hooking but due to the debug build and an attached debugger it runs into the assertion.

The reason for the debug build lies in the build script of DDevExtensions: msbuild /p:Configuration=Release instead of msbuild /p:Config=Release. (So thanks for "reporting" this so I can fix the build script).

这篇关于调试设计时间包时启动Delphi时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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