Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Refactoring/Find References    [ Add a report in this area ]  
Report #:  57523   Status: Closed
Exception navigating to FindReferences results
Project:  Delphi Build #:  11.0.2902.10471
Version:    11.2 Submitted By:   Alexey Rytov
Report Type:  Basic functionality failure Date Reported:  1/28/2008 9:10:59 AM
Severity:    Infrequently encountered problem Last Updated: 1/30/2008 11:27:23 AM
Platform:    All versions Internal Tracking #:  
Resolution: Cannot Reproduce (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

I used Find Refernces comand (Ctrl-Shift-Enter) on a data member of a structure, then did some editing of the unit containing the references. As the result, parts of code that contained the references were removed.

So there are 3  references in the FindRef result panel,  all referring to lines of code that no longer exist (some deleted, some commented-out and moved to the end of the unit)

Double-clicking some of these references positions the cursor at the top of the file (which is the expected behaviour),  but one of them causes the IDE to respond with the "File tracking position not found" dialog.  Clicking the [Details] button invokes the madException diagnostic window (see the stack trace attached).

(a)  Well, it would be goog to see why the tracking gets lost and fix that.  Unfortunately, I can't provide the exact sequence of actions that lead to this error.

(b)  More importantly, even if the "not found tracking position"  error still occurs sometimes,  it should be silently processed, or displayed in the message panel, but it must not cause an unhandled exception.
Steps to Reproduce:
see description
Workarounds
None
Attachment
bug_findref.zip
Comments

None

Server Response from: ETNACODE01