Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem with setting Browsing Path in Delphi option page

I have a problem with setting Browsing Path in Delphi 2009:

When I install a new component, I add DCU path to Delphi's Library Path, and source path to Delphi's Browsing Path. The application compiles fine, but holding Ctrl and clicking on any of the unit names for that component does not open the source file!

It seems the only way to make it work is to add source path to Library Path, but this means I have to compile all the units belonging to third-party components every time I build my project!

This problem does not exist for Delphi's standard units, or even JCL and JVCL units which are installed by JCL\JVCL installer, and their source paths are added to Browsing Path.

Is this a bug, or it is me doing something wrong?

Regards

like image 749
vcldeveloper Avatar asked Apr 23 '09 15:04

vcldeveloper


3 Answers

I was struggling with this problem for a long time. Changing REFERENCEINFO in package settings from "none" to "definitions only" did the trick. Hope this will help you also.

like image 148
Alexey Orlov Avatar answered Nov 15 '22 21:11

Alexey Orlov


Are any of these units listed in the .dpr ? Units there with a wrong path can cause pretty funky behaviour.

like image 31
Marco van de Voort Avatar answered Nov 15 '22 19:11

Marco van de Voort


Setting "Symbol Reference Info" to "Reference Info" does indeed fix the issue with Browsing Path.

But at least for Delphi XE the change has to be made in "Build Configuration -> Base" for it to work.

like image 34
Sharken Avatar answered Nov 15 '22 20:11

Sharken