Error Starting Delphi When Debugging Design Time Package

╄→гoц情女王★ 提交于 2019-12-10 13:50:05

问题


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.)


回答1:


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).



来源:https://stackoverflow.com/questions/14532835/error-starting-delphi-when-debugging-design-time-package

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!