Link to home
Start Free TrialLog in
Avatar of oraelbis
oraelbisFlag for Belarus

asked on

Debuging bpl packages problem

I create simple application with host main module and addins in bpl packages.
It's work fine, but I can’t debug packages.
Debug information included, and I can set breakpoints in design time, but after starting they disabled.

Thank you.

Avatar of Wim ten Brink
Wim ten Brink
Flag of Netherlands image

Then you've compiled the packages without debug information...

It's not enough to compile your project with debug-information. You'll need to rebuild the packages too in that case...
Avatar of swift99
swift99

Woodshop_Alex has it.  That's bit me before too.
Avatar of oraelbis

ASKER

“Build or Build All” not solved this problem.
May be problem in directories settings.
MainModule source in $(DELPHI)\Projects\BZGA\MainBody\BIN\Core.
LibEventLog source in $(DELPHI)\Projects\BZGA\MainBody\BIN\EventLog.

I set:
$(DELPHI)\Projects\BZGA\MainBody\BIN for output directory.

After compiling(building) I see exe and bpl modules in $(DELPHI)\Projects\BZGA\MainBody\BIN directory.
ASKER CERTIFIED SOLUTION
Avatar of Wim ten Brink
Wim ten Brink
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Problem was in DCP output directory.
Delphi use ..\Projects\BPL as default.
I change it to package source, and debuging enabled.

Thank you.
You're welcome.