Author |
Topic |
|
beylevem
Tomato Guru
102 Posts |
Posted - Nov 12 2007 : 2:15:55 PM
|
I am getting suggestions from a file that not part of my project, but is in the same directory as the dsp/dsw files for the project. If I accept the suggestion, and then hit goto on the symbol, VA opens the file which is not part of the project.
VA_X.dll file version 10.4.1616.0 built 2007.11.08 MSDev.exe version 6.0.9782.1 Devshl.dll version 6.0.9782.0 Devedit.pkg version 6.0.9782.0 Font: Bitstream Vera Sans Mono 13(Pixels) Comctl32.dll version 5.82.6000.16386 Windows Vista 6.0 Build 6000 2 processors
Platform: Win32 (x86) Stable Includes: C:\\w\\vs6\\DF98\\CXML\\Include; C:\\w\\vs6\\DF98\\IMSL\\Include; C:\\w\\vs6\\DF98\\Include; C:\\w\\vs6\\VC98\\INCLUDE; C:\\w\\vs6\\VC98\\MFC\\INCLUDE; C:\\w\\vs6\\VC98\\ATL\\INCLUDE; c:\\w\\vs6;
Other Includes:
Stable Source Directories: C:\\w\\vs6\\VC98\\MFC\\SRC; C:\\w\\vs6\\VC98\\MFC\\INCLUDE; C:\\w\\vs6\\VC98\\ATL\\INCLUDE; C:\\w\\vs6\\VC98\\CRT\\SRC;
|
|
feline
Whole Tomato Software
United Kingdom
19021 Posts |
Posted - Nov 12 2007 : 3:29:05 PM
|
If you have opened a file in the IDE then VA will parse and remember the contents of the file, even if it is not part of your project.
Does this sound like what you are seeing?
One reason for this behaviour is that VA cannot rely on all files you are using actually being a part of your project. This mainly applies to header files, which are sometimes referenced but not added to the project. |
zen is the art of being at one with the two'ness |
|
|
beylevem
Tomato Guru
102 Posts |
Posted - Nov 12 2007 : 6:47:18 PM
|
No, the file was not opn in the IDE (it probably was at some point in the past - does that count?) |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Nov 12 2007 : 7:58:53 PM
|
Yes, it does.
Close your solution. Press the "Clear" button on the performance page of the VA options dialog. That should make VA forget about the non-solution files. No restart necessary.
|
|
|
beylevem
Tomato Guru
102 Posts |
Posted - Nov 12 2007 : 9:45:54 PM
|
Still happens. Which directories should I check to see if the clear worked? |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Nov 12 2007 : 11:47:39 PM
|
C:\\Users\\<USERNAME>\\AppData\\Local\\VisualAssist\\vc6\\cache
The next step would be the "Rebuild" button on the same Performance page. But a restart is required after that.
|
|
|
beylevem
Tomato Guru
102 Posts |
Posted - Nov 13 2007 : 08:31:12 AM
|
Still happens. The cache directory is clear, but there is a proj_nnnn directory that still contains the definitions in Db1Ds.db.
|
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Nov 13 2007 : 11:43:01 AM
|
Ahh - it made it into the solution db. Either use the "Rebuild" button or delete just the proj_nnnn dir (rebuild requires restart, deleting the proj_* dir should be done after the solution has been closed). |
|
|
beylevem
Tomato Guru
102 Posts |
Posted - Nov 13 2007 : 3:24:33 PM
|
I toasted the directory and loaded the project. It rebuilt the directory, and promptly parsed the extraneous file into Db1Ds.db. I triple checked - the file is not mentioned in the dsp/project file. Would you like an upload of the project directory? :-) |
|
|
beylevem
Tomato Guru
102 Posts |
Posted - Nov 13 2007 : 3:28:23 PM
|
but.... I found one of the header files that *was* including the file. Sorry for wasting your time... |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Nov 13 2007 : 3:33:18 PM
|
Is the file listed in the OFIW dialog?
Is the file a header or source file?
Does it have the same name as a file that IS in the project?
If it is a header, does any file in the project include it?
|
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Nov 13 2007 : 3:33:51 PM
|
whoops - cross-posted... |
|
|
|
Topic |
|