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
 Feature Requests
 Per Solution Database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

replay
Junior Member

21 Posts

Posted - Feb 17 2009 :  09:34:12 AM  Show Profile  Reply with Quote
Instead of saving everything (cache, pref...) in the user directory, maybe it would be interesting to do a per solution database, because it's often happening to have different kind of sdks installed and visual assist lost it's integrity when it's getting the same declaration in its database (I have to cleanup and rebuilt database very often to have it working smoothly)

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Feb 17 2009 :  11:01:07 AM  Show Profile  Reply with Quote
We are thinking about a change to allow multiple stable include directory lists, but I am not quite sure how that will work:

case=21844

It might help in your situation though.

An alternative is to remove these SDK's from VA's stable include list, by setting the platform to Custom, and instead add the SDK to the projects.

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

replay
Junior Member

21 Posts

Posted - Feb 17 2009 :  1:20:08 PM  Show Profile  Reply with Quote
That's already what i am doing. i am not adding the path to VA but only to my projects (in the precompiled headers). But after a while, it's not working fine and I have to rebuild the database.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Feb 18 2009 :  11:29:42 AM  Show Profile  Reply with Quote
Do you often work with more than one IDE open at a time?

Can you please go to:

VA Options -> System Info -> Copy Info

and paste the details (from the clipboard) into your reply. This will give us the basic information about your setup.

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

replay
Junior Member

21 Posts

Posted - Feb 18 2009 :  11:54:11 AM  Show Profile  Reply with Quote
Yes, i often work with 2 or 3 ide

-----

VA_X.dll file version 10.5.1711.0 built 2008.12.11
Licensed to:
VA X: [email protected] (1-user license) Support ends 2010.01.02
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.762
Font: Courier New 13(Pixels)
Comctl32.dll version 6.0.2900.5512
Windows XP 5.1 Build 2600 Service Pack 3
2 processors

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\include;

Other Includes:

Stable Source Directories:
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\crt\\src;

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Feb 19 2009 :  5:21:49 PM  Show Profile  Reply with Quote
*sigh* you are running a current version of VA. There used to be a problem when running multiple IDE's at once, causing VA to get confused, but this should be fixed in VA 1711.

Approximately how long does it take this problem to show up? Hours? Days? Months?

Have you ever noticed any form of pattern or trigger?

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

replay
Junior Member

21 Posts

Posted - Feb 23 2009 :  11:42:13 AM  Show Profile  Reply with Quote
The only pattern (maybe) is i'm using different version of a sdk in different ide tha maybe sometimes createe the problem. But I don't know how long the problem comes.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Feb 26 2009 :  10:01:17 AM  Show Profile  Reply with Quote
How have you told the IDE and VA about these different SDK's?

Are they added to the solutions additional C++ include directories?
All of the SDK's added to the IDE's C++ include directories list?
Something else?

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

replay
Junior Member

21 Posts

Posted - Feb 26 2009 :  12:20:41 PM  Show Profile  Reply with Quote
No, i never add the directory to the ide of va because of the different version, the includes are only in the source code (precompiled headers).
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Feb 27 2009 :  5:59:42 PM  Show Profile  Reply with Quote
*sigh* you are not supposed to have any problems when doing this.

One thing that might help a little bit. VA makes a separate symbol database for each instance of the IDE. So you will have these directories:

C:\\Documents and Settings\\ <USERNAME> \\Local Settings\\Application Data\\VisualAssist\\vs8_1
C:\\Documents and Settings\\ <USERNAME> \\Local Settings\\Application Data\\VisualAssist\\vs8_2

so if you could load solution 1 in the first instance of VS2005, and solution 2 in the second instance of VS2005, etc, this would help to limit the problem. I know this is not a proper solution though.

When the problem shows up, exactly what is happening, what are you seeing that is wrong?

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

replay
Junior Member

21 Posts

Posted - Mar 02 2009 :  05:56:35 AM  Show Profile  Reply with Quote
Yes, the directories are here (vs8_1 to 3); when the problem is happening, the listboxes are not working (and i disabled intellisense to get vs faster).
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Mar 02 2009 :  3:54:20 PM  Show Profile  Reply with Quote
when you say listboxes are not working can you be more precise?
are you getting any listboxes at all?
are you getting member listboxes after typing a dot or -> ?
are you getting suggestion listboxes - these have an A icon under the bottom left hand corner.

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

replay
Junior Member

21 Posts

Posted - Mar 03 2009 :  05:10:05 AM  Show Profile  Reply with Quote
it's the member listboxes after typing . or ->
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Mar 03 2009 :  5:26:01 PM  Show Profile  Reply with Quote
What happens for the code:

CString strCStr;
strCStr.|


and

std::string strStd;
strStd.|


These two should be defined in your stable include directories, so should still work even if VA is confused by items from the SDK's. I am trying to understand the scope of the problem.

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

replay
Junior Member

21 Posts

Posted - Mar 04 2009 :  05:37:49 AM  Show Profile  Reply with Quote
These two are working fine. But I got no problem yet since I cleared the cache and rebuilt the database. But the problem was often happening with DirectX SDK.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Mar 05 2009 :  11:06:44 AM  Show Profile  Reply with Quote
When the problem starts happening again can you try the CString and std::string test please.

Can you also go to a #include line for one of the DirectX SDK header files and place the caret into the filename. What, if anything, does VA show in the context and definition fields?

If you press alt-g are you taken to the correct file?

I am wondering if VA still knows about the header files, even if the listboxes are not working.

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

replay
Junior Member

21 Posts

Posted - Mar 05 2009 :  12:39:29 PM  Show Profile  Reply with Quote
Ok, as soon as the problem is coming back, i'll try all these
Go to Top of Page

thethirdhalf
Junior Member

16 Posts

Posted - Mar 10 2009 :  4:12:48 PM  Show Profile  Reply with Quote
"We are thinking about a change to allow multiple stable include directory lists, but I am not quite sure how that will work:

case=21844"

Different issue, but this feature would be really useful on my end: We use multiple versions of QT simultaneously (and different platforms, at that). We also use up to four IDE's simultaneously. If you can do it, please do!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Mar 11 2009 :  4:06:26 PM  Show Profile  Reply with Quote
This is being looked at, but currently I do not have any estimate on when it will be done.

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