Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Find Symbol shows symbols from another project
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

uweph
Junior Member

14 Posts

Posted - Sep 04 2009 :  04:42:23 AM  Show Profile  Reply with Quote
Is there a reason why VA displays symbols from another project. One that had not been opened for long time and has a different name?

This happens several times a week and I always need to rebuild the database.

How is the connection from project to database?
How can it happen that the wrong database is opened?

Thanks

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 04 2009 :  1:37:14 PM  Show Profile  Reply with Quote
It's not likely that the wrong database was opened. What is more likely is that the project A database is polluted with information from project B - assuming that project A and project B aren't both in the same solution.

Assuming you don't have a solution/workspace that contains both project A and B, this could occur:
- if you opened a file from the project B while you were in project A
- if you add project B to the solution that holds project A
- if your system include directories point to directories the hold files from project B
- if project A has additional include directories that point to project B directories

It might also occur if you have "if solution is no empty" checked on the Projects | File handling page of the VA options dialog.

Probably should have asked first, but what version of VA are you using and in what IDE?
Go to Top of Page

uweph
Junior Member

14 Posts

Posted - Sep 07 2009 :  09:19:45 AM  Show Profile  Reply with Quote
Hi sean,
thanks for the repy.

I'm using the latest VA in Visual Studio 2008 Professional.

"if you opened a file from the project B while you were in project A"
This might be!

"if you add project B to the solution that holds project A"
No

"if your system include directories point to directories the hold files from project B"
No

"if project A has additional include directories that point to project B directories"
No

But when this happens I only see symbols from project B (while project A is opened). I do not see symbols from both projects
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 08 2009 :  12:47:13 PM  Show Profile  Reply with Quote
Do you have "Parse all files when opening a project" enabled on the Performance page of the VA Options dialog?
Go to Top of Page

uweph
Junior Member

14 Posts

Posted - Sep 08 2009 :  3:37:45 PM  Show Profile  Reply with Quote
Yes.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Sep 08 2009 :  3:46:14 PM  Show Profile  Reply with Quote
Can you please generate a log file and send it in?

Details are here:
http://docs.wholetomato.com?W305

Please enable logging before loading the solution.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000