Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Code Browsing    [ Add a report in this area ]  
Report #:  60191   Status: Reported
Find declaration code function not working
Project:  Delphi Build #:  11.0.2902.1047
Version:    11.2 Submitted By:   D D
Report Type:  Basic functionality failure Date Reported:  3/31/2008 8:27:33 AM
Severity:    Commonly encountered problem Last Updated: 12/9/2008 12:33:53 AM
Platform:    All versions Internal Tracking #:  
Resolution: Need More Info (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
[Alt + UpArrow] or right click [Find Declaration] does not always position to the right place.  In fact, the pas file is the good one but the function to find is not correct.
Steps to Reproduce:
[Alt + UpArrow] or right click [Find Declaration] does not always position to the right place.  In fact, the pas file is the good one but the function to find is not correct.
Workarounds
None
Attachment
None
Comments

Markus Humm at 4/1/2008 10:53:17 AM -
Maybe some test project could be needed here to investigate the problem further.

Steinar Skålvik at 12/8/2008 1:51:58 AM -
Delphi 2009 has the same behaviour where selecting Find Declaration on a procedure or function identifier (perhaps other things as well) would focus on a random location rather than where the requested declaration exist.

Also, the structure treeview in Delphi 2009 misreport perfectly fine code as erroneous. Not sure but maybe that is something to do with the Find Declaration error. Delphi is probably keeping some kind of separate data structure to map out code parts, and this structure isn't useful to the compiler because everything compiles just fine. That structure may be partially freed in order to make way for more crucial things when low on free memory. Anyway, that is just my guess. I am running a Windows XP SP2 machine with 512MB of RAM, which is half of what is said to be required for running Delphi. On the other hand, while these errors occur I can say that my machine has seen worse days when it comes down to memory running Delphi 2009 along with other large applications, so it seems kind of strange if I should only blame memory conditions.

Tomohiro Takahashi at 12/9/2008 12:33:50 AM -
Could you provide Steps to reproduce this issue?

Server Response from: ETNACODE01