DelphiFAQ Home Search:
General :: Programming :: Delphi
General Delphi related information.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

Stop the debugger asking for source code of custom components

Question:

I've got some custom components which I've complied and placed all relative files (except source) in the Delphi directory.

When I come to debug and step into a line of code which uses my custom components Delphi asks for the file name. How do I stop this? It does not ask for the system files.

Answer:

Make sure when you build your custom components that you have all debug information turned off. Better yet just embed {$D-,L-} at the top of all unit in which you do not want debug information included.

Best: have a global include file {$INCLUDE DEFS.INC} in all files. Turn them on/ off there.