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
 Old symbol from copyied dir
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

superzmy
Junior Member

China
17 Posts

Posted - Feb 27 2023 :  04:57:15 AM  Show Profile  Reply with Quote
Some times I copy one entire solution to other dir.
And I edit very much, like I rename an field of a class.
Then I open vax symbol window,
I may see two same file "xxx.cpp" that one in the copied Project, and the other is [External] Project in the old dir.

I use notepad++ to search in the whole dir to ensure that old dir path is not exist in the working dir.

VS F12 can process the symbol well, the duplicated symbol cache looks like belong to VAX.
Should I change the GUID of vcxproj ?

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Feb 27 2023 :  06:51:31 AM  Show Profile  Reply with Quote
Can you please try pressing the button:

VA Options -> Performance -> Rebuild symbol databases

which will take a restart of Visual Studio to take effect. VA should know which files belong to which project, so should not list files from a different project, even though the information for several projects is normally stored in our symbol database all at once. But apparently copying the entire solution is confusing us. This will let you start over with a clean symbol database, so no "old" symbol information.

zen is the art of being at one with the two'ness
Go to Top of Page

superzmy
Junior Member

China
17 Posts

Posted - Mar 08 2023 :  02:58:08 AM  Show Profile  Reply with Quote
that is useless.
I had done this many times.
even that I delete old dir, and now the symbol in window first line, its file and dir is empty, and if I click it nothing will happen.

Is it possible to give us a filter option to remove symbol by dir ?
When I edit something here and there, I may be guided to the old dir and make bad edition.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Mar 08 2023 :  07:50:43 AM  Show Profile  Reply with Quote
Have you tried rebuilding your VA symbol database? Unless your solution is VERY large this should only take a couple of minutes, at most, and should fix all of these problems you are seeing.

zen is the art of being at one with the two'ness
Go to Top of Page

superzmy
Junior Member

China
17 Posts

Posted - Mar 23 2023 :  12:14:21 AM  Show Profile  Reply with Quote
quote:
Originally posted by feline

Have you tried rebuilding your VA symbol database? Unless your solution is VERY large this should only take a couple of minutes, at most, and should fix all of these problems you are seeing.



but days later the other dir will come back.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Mar 23 2023 :  07:02:32 AM  Show Profile  Reply with Quote
Are you opening the other directory? VA should not be adding anything from the other directory into its symbol database unless somehow directed to parse and store the information for files from that directory. So I am trying to work out what might be triggering these files to show up in your symbol database.

zen is the art of being at one with the two'ness
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