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
 Concept Diretory Configuration
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

str
Junior Member

19 Posts

Posted - Apr 17 2014 :  02:39:54 AM  Show Profile  Reply with Quote
Hi,
I'm using VS2013 and I have configured my include and library directories as described in the documentation. In VAssist settings I use the "Project defined" settings.
The problem is, that VAssist does not differ between different configuration or target machine settings. So it holds ALL of the different locations in its directory cache. This yields in a very bas performance and ambiguous symbols behaviour.
So, what is the proposed solution to work with different projet configurations with different directory structure and content?

feline
Whole Tomato Software

United Kingdom
19185 Posts

Posted - Apr 17 2014 :  10:41:58 AM  Show Profile  Reply with Quote
What do you want to achieve here? Do you just want VA to see and consider one set of target directories? Are you targeting different OS's?

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

str
Junior Member

19 Posts

Posted - May 05 2014 :  04:33:31 AM  Show Profile  Reply with Quote
No, I'm not targetinh different OS's but different compiler and machine type configurations. (x86 , x64 and VS2010 as compiler, VS2013).
I each of them I use other dependent 3rd party libraries.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19185 Posts

Posted - May 05 2014 :  10:24:55 AM  Show Profile  Reply with Quote
That generally makes sense. How are you specifying the target, and how are you setting / changing the associated directories in the IDE?

For example, when targeting VS2010, are you actually compiling via VS2013, or are you compiling via a VS2010 solution?

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

str
Junior Member

19 Posts

Posted - May 06 2014 :  07:29:15 AM  Show Profile  Reply with Quote
I'm always compiling in vs2013 using different build configurations. debug2010/debug2013 release2010/release2013 and so on...

quote:
Originally posted by feline

That generally makes sense. How are you specifying the target, and how are you setting / changing the associated directories in the IDE?

For example, when targeting VS2010, are you actually compiling via VS2013, or are you compiling via a VS2010 solution?

Go to Top of Page

str
Junior Member

19 Posts

Posted - May 12 2014 :  12:39:06 AM  Show Profile  Reply with Quote
I'm always compiling in vs2013 using different build configurations. debug2010/debug2013 release2010/release2013 and so on...
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19185 Posts

Posted - May 27 2014 :  11:58:45 PM  Show Profile  Reply with Quote
Apologies for the very slow reply. How often are you changing your profile, so needing to change the directories that VA knows about, and is basing its suggestions on?

The problem is that changing these directory settings in VA requires rebuilding our symbol database, since these external directories are not part of your solution, so are scanned as stable include directories, so they are not expected to update or change often.

You can set a single set of directories that you want VA to scan and to know about, by setting your C++ Directories platform to Custom:

http://docs.wholetomato.com/default.asp?W213

the problem here is that changing this setting / list of directories will get VA to prompt you to restart your IDE and VA will then rebuild your entire symbol database. So if you need to make a change like this fairly often this is not an ideal approach.

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

str
Junior Member

19 Posts

Posted - Jun 04 2014 :  01:26:17 AM  Show Profile  Reply with Quote
Here two screenshots what I have:

In this case my custom settings always are reset after next VS2013 restart. Besides, it is very anoying to edit that setting at each build configuration change.




Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19185 Posts

Posted - Jun 05 2014 :  11:41:52 PM  Show Profile  Reply with Quote
Which OS and version of VA are you using? This looks like a Windows 7 screen shot, so if this is Windows 7 is it 32bit or 64bit?

Your changes to the custom directory listing should be saved correctly, they should not be lost. I have checked VA 2036, VS2013 under Windows 7 64bit here, making several changes to the custom directory listing, and the changes are always saved and reloaded correctly for me.

Are other changes you make to VA options being saved correctly when you close the IDE? We need to get this working before looking much further.

One thought, if you have more than one instance of the IDE open at the same time, the last instance you close will save out the VA settings, overwriting any other changes you made, so this might explain some problems with settings not being saved correctly.

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

str
Junior Member

19 Posts

Posted - Jun 06 2014 :  12:41:45 AM  Show Profile  Reply with Quote
Ok. Following behaviour. Settings in 'Sources Files' are saved.




Addding a 'Stable include file' also is saved, at first.




After restarting VS2013 all is still there.
Then, rebuild and clear data base. Restart VS2013. ALl is there. Open my project, VSassist is reparsing all and my 'Include stable' settings is cleared:







Using Ctrl+g at a QList symbol jumps to a completely other location than Libraries_VS2013_Win64

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19185 Posts

Posted - Jun 07 2014 :  12:01:07 AM  Show Profile  Reply with Quote
Which OS are you using? What, if anything, is odd or different about your situation?

How, exactly, are you triggering a rebuild of VA's symbol databases? I simply cannot reproduce this problem here, my custom stable include directories are never being reset. So obviously there is something you are doing that I am not doing.

For the Qt library, your new stable include directories does not contain any references to Qt, so VA no longer knows about Qt, or where to find it. Your directory list used to contain the Qt directories, as shown in your screen shot.

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

str
Junior Member

19 Posts

Posted - Jun 10 2014 :  12:50:39 AM  Show Profile  Reply with Quote
I'm using Win7x64. Doesn't VAssist parse directories recursive? My Libraries_VS2013_Win64 folder does contain some different 3rd party libraries but not only Qt.
I'm triggering a rebuild of VA's symbol databases in the VA settings dialog.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19185 Posts

Posted - Jun 10 2014 :  9:34:27 PM  Show Profile  Reply with Quote
Unfortunately no, VA does not parse directories recursively. VA parses directories the same way the IDE its self does, which is to only parse the directories you tell it, and to use these as base directories for relative path names.

Can you please run regedit, and look at the key:

HKEY_CURRENT_USER\\Software\\Whole Tomato\\Visual Assist X\\VANet12\\Custom\\SystemInclude = "..."

this is where VA saves your custom include directories. Is this being set correctly when you quit the IDE?

Can you keep an eye on this registry key and reproduce the problem where your VA custom directories are lost, and see if you can see what might be happening? VA should only update this key when you close the IDE. If you have more than one IDE open then the last one you close will be the last one to update this key.

It is almost as if you sometimes loose permission to write to this key, or the registry is being reset by another process or program.

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