Re: Find Declaration doesn't always work.
Hi Guys,
Yep, I had some problems with this one also.
If you end up (for whatever reason) with a project with some DCUs that
has debug info stored in them, and some that does not, it can get very
confusing because you find that "find declaration" works in some of
your units, and not in others ?!!
The short answer (fix) is :
1. Make sure you have Debug- info switched on (Project>Options>
Compiler>Debugging : Have these ticked : "Debug information",
"Local symbols" & "Reference info" )
2. Either delete all the DCUs in your project and compile, or
do a Project>Build - all.
That ensures that all your DCUs have debug info in them, and all
should be fine from there on...
Kind Regards,
Johan Elliot
"Dan Downs" <
XXXX@XXXXX.COM>writes news:<3f12d376$
XXXX@XXXXX.COM>...
Quote
>Find declaration does not work if:
>- de{*word*81} is running
>- there are compilation errors above current point or in used units
Could be
>- the destination unit(s) was (were) compiled without debug info
Could be
>- you hit one of bugs in IDE which destabilizes it, or install a buggy
>package with same consequences
Thanks, I was looking for some triggers for what causes it. Its probably the
compilation errors which was why I was trying to get back to the other units
to figure out what I did wrong.
DD