The "debug DCUs" option will have no effect on your package project. Your package requires the rtl and vcl packages, and those were not compiled with the debug DCUs. Even if you change the search path to include the units with debug information, the linker is still going to grab the non-debug versions from the configured packages.
–
Rob KennedyMar 12 '13 at 12:16

It is not helpful to show us the Release build (active) page !
–
moskito-xMar 12 '13 at 14:38

1 Answer
1

You may be confused by the fact that debug .dcu's is not a debugger option, but a compiler option.

Is the compiler the one which generates and includes the symbols required to debug inside the Delphi RTL/VCL.

The debug DCUILs (.NET) or DCUs (Win32) contain debug information and are built with stack frames. When this option is checked, the compiler prepends the debug DCUIL/DCU path to the unit search path specified in Debug Source Path on the Directories/Conditionals page.

The option is under the compiler options in each project, in:

Project\Options\Compiler\Debugging\Use debug DCUs

Note I really don't have BDS2006 right now, the closest version I have is BDS2007, but AFAIK the option is named the same.

Sorry. In BDS2006 the menus are displayed in a very different. Under compiler->Debugging option it doesn't exist. (I tried to add a screenshot but stackoverflow doesn't allow for any reason)
–
AharonMar 12 '13 at 7:35

1

Please, upload your screenshot of the project/options/compiler to a image sharing service and post the link here in a comment.
–
jachguateMar 12 '13 at 7:37

1

@Aharon I found this screenshot of the 2006 project options, and it doesn't look too different. Did you uploaded your's?
–
jachguateMar 12 '13 at 7:46

2

@Aharon - We can play the guessing game all day but one single screenshot posted wherever you can would likely solve the confusion.
–
Lieven KeersmaekersMar 12 '13 at 8:31

1

@Aharon, again, look what is your Delphi Version in Help/About and let us know. The non standard dialog may be the work of a IDE expert. What do you have installed there?
–
jachguateMar 12 '13 at 16:32