[英]How to activate breakpoints in a BPL file?
I'm using Delphi 10.4.我正在使用 Delphi 10.4。
I have a Delphi executable XXX.exe
and a Delphi package BBB.Bpl
, which is loaded by XXX
with LoadPackage('BBB.Bpl')
.我有一个 Delphi 可执行文件XXX.exe
和一个 Delphi package BBB.Bpl
,由XXX
用LoadPackage('BBB.Bpl')
Both are separate projects in Delphi.两者都是 Delphi 中的独立项目。
I open the BBB.Bpl
project, indicating my XXX.exe
as the Host application.我打开BBB.Bpl
项目,将我的XXX.exe
指定为主机应用程序。 After a build of BBB
, blue dots on the right side of the editor are visible, and breakpoints can be set in the BBB
code.构建完BBB
后,可以看到编辑器右侧的蓝点,并且可以在BBB
代码中设置断点。
When I start the BBB
project with eg.当我开始BBB
项目时,例如。 F9 , the XXX
application performs the LoadPackage
procedure without fail, and executes the commands from the BBB
without fail. F9 , XXX
应用程序执行LoadPackage
过程无误,执行BBB
命令无误。 But, the breakpoints in the BBB
code are disabled, also the blue dots are not visible.但是, BBB
代码中的断点被禁用,蓝点也不可见。 The breakpoints in the code of the XXX
application are working fine. XXX
应用程序代码中的断点工作正常。
I Googled a lot about this, nothing was helpful.我在谷歌上搜索了很多,没有任何帮助。
I tried to check and add more search paths, lots of compiler/linker options (Debug information = true, etc), but I am not able to debug the Bpl's source code.我尝试检查并添加更多搜索路径、大量编译器/链接器选项(调试信息 = true 等),但我无法调试 Bpl 的源代码。
Can anyone please give me some hints?谁能给我一些提示?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.