Reputation: 1
I'm using 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')
.
Both are separate projects in Delphi.
I open the BBB.Bpl
project, indicating my XXX.exe
as the Host application. 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.
When I start the BBB
project with eg. F9, the XXX
application performs the LoadPackage
procedure without fail, and executes the commands from the BBB
without fail. But, the breakpoints in the BBB
code are disabled, also the blue dots are not visible. The breakpoints in the code of the XXX
application are working fine.
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.
Can anyone please give me some hints?
Upvotes: 0
Views: 642
Reputation: 124
you should attach it(bpl) to main app when the app was running as below.
Upvotes: 1