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
 VA Unstable / Unusable From 1707 & up
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SylvainUbi
New Member

4 Posts

Posted - Jan 09 2009 :  11:54:19 AM  Show Profile  Reply with Quote
Hello,

Since version 1707 the auto-completion / symbol recognition does not work most of the time. Since 1709 Devstudio hangs and I have to kill it. I

tried to rebuild the DB almost twice a day without any success. I'm working on a relatively big project having over 86k files for the project

only (excluding the thousands of additionnal external files). The version 1649 is the last stable version to work decently on our codebase. Is

there something I can do to help you identify the cause of these issues?

Stats:
- 34 vcprojs
- 18 build targets
- 8626 files (as state in the "open file in solution" box)
- C++ files plus in-house script files

VA_X.dll file version 10.4.1649.0 built 2008.09.09
DevEnv.exe version 8.0.50727.762
msenv.dll version 8.0.50727.870
Font: ProggyTinyTTSZ 16(Pixels)
Comctl32.dll version 6.0.2900.2982
Windows XP 5.1 Build 2600 Service Pack 2
4 processors

Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft DirectX SDK (March 2008)\\Include;
C:\\Program Files\\Microsoft DirectX SDK (December 2006)\\Include;
C:\\Program Files\\Microsoft Visual Studio 8\\VC\\PlatformSDK\\include;
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\\SDK\\v2.0\\include;
D:\\Projects\\Tracefile;

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;

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 09 2009 :  4:57:53 PM  Show Profile  Reply with Quote
Did you try 1711?
Probably there is something that confuse the parser. For example if parser lose the scope, it can lead to a lot of unrecognized symbol after it. One reason can be using macros for this.

First, can you please turn on

VA Options -> Advanced -> Underlines -> Underline spelling errors in comments and strings using

so we can see the problematic areas faster. This will underline unrecognized symbols after the first edit of a file. If a symbol is unrecognized, the completion also will not work.

So, do you see a lot of underlines after you edit a file? If yes, we should figure out why is this happening.
There may be a regression.
Do you use macros in your files? For example to generate setter and getter methods.
Can you please take a screenshot of your underlined symbols? If you cannot do that due to copyright limitation, can you give me an example, where Visual Assist cannot recognize a symbol?
Do you see a LOT of underlines, or only a few spread in your file?
In case of lot of underlines, the best if you take the screenshot from the first underlines in the file.

If we can find the cause of your problem, we can fix it.

You can try turning on

VA Options -> Advanced -> Listboxes -> Get content from default Intellisense

as a workaround to symbol completion in case you did not disable default intellisense for example by following the steps here:

http://docs.wholetomato.com?W133

Edited by - accord on Jan 09 2009 5:34:48 PM
Go to Top of Page

Lehner Franz
New Member

7 Posts

Posted - Jan 12 2009 :  1:37:27 PM  Show Profile  Reply with Quote
Hi
We have big projects too and the new 1711 version is constantly hanging and deadlocking VS2008. With 1649 everything was good, and after we upgraded to 1711 we have massive problems.
Our Projects are really big (usually 1000 files, about 100k lines of code)
Parts of our source are on a Network share.

We found out that when disabling "Keep symbols in memory for faster response after ALT-TAB" it gets better, but it is still existing.
also when opening more as 3 VS2008 instances (different sourcecode) the hanging appears with higher frequency.
Specially when saving a file with CRTL-S VS seems to get very instabil.
The only solution to come out of this problem is to kill VS2008 with the taskmanager.
My OS where it also happens very often is Vista64 bit, Quad Xeon, 16 gig ram
, VS2008 sp1, OS Patchlevel Full

Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Jan 12 2009 :  3:41:42 PM  Show Profile  Reply with Quote
Do you use WPF?
There is a known issue in VS2008 SP1 firstly with WPF. Sean posted 2 links at the end of this thread related to this issue:

http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=8410
Go to Top of Page

SylvainUbi
New Member

4 Posts

Posted - Jan 12 2009 :  4:01:14 PM  Show Profile  Reply with Quote
I tried all version from 1707. I re-installed 1711 this morning to do some tests. Here is a summary of my experience with VA today. In chronological order:

- Installed 1711
- Rebuild DB + Clean Cache
- Waited 10 minutes for project to parse entirely
- Everything looked fine
- After a while...
- Right-click -> Refactor to rename member variable
- Cancel because was taking too long
- Decided to Find In File to replace manually
- DevStudio Hung and finally crashed
--------------------

- No significant underline errors but it takes forever to find a symbol in auto-complete (rendering it useless).
- For a member variable: I start typing then asks for the auto-complete: gives me wacky suggestions
- I waited a couple seconds and tried again, then it gave me the appropriate suggestions
---------------------

- I lost the selection highlight for a file until I closed it (selected text was not displaying in white on black)
- It worked for other opened files though
---------------------

- Open File In Solution does not work anymore: (Parsing...)
----------------------

- I decided to start from fresh because of OFIS last bug.
- Clicked rebuild symbols DB and clear cache of VA
- Closed Dev Studio.
- It never closed and hung, I had to kill it.
---------------------

- I have a function with this prototype: void Data::SetSmoothing( Rail& Next, const Vector4& CurrentDir, const Vector4& CurrentPos )
- "Rail" is a struct declared in the .h of this cpp file
- "Vector4" is declared as : typedef ALIGN(MATH_ALIGNMENT) Math::Vector4f ubiVector4
- The struct is declared in the same .h as the function I'm working in.
- All members of the struct are underlined. When I click on them, the goto bar is empty.
- If I ALT-TAB to another application and return back to Dev Studio, the goto bar will be OK but the underline will stay
- If I ALT-TAB a second time the underlines will disappear
- As soon as I start writing new code, all newlyfound members are unrecognized again. Same behaviour if I click "re-parse"
-------------

Some more project Info.
- We are doind TDD and using UnitTest++
- Extensive use of boost, templates, macros
- Generated code through macros
- Extensive use of BOOST_TUPLE
- Generated C++ from in-house script
- Multi-plateform (game consoles) (but currently working on PC version)


Sylvain


Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jan 13 2009 :  01:30:00 AM  Show Profile  Reply with Quote
quote:
Originally posted by Lehner Franz

Hi
We have big projects too and the new 1711 version is constantly hanging and deadlocking VS2008. With 1649 everything was good, and after we upgraded to 1711 we have massive problems.
Our Projects are really big (usually 1000 files, about 100k lines of code)
Parts of our source are on a Network share.

We found out that when disabling "Keep symbols in memory for faster response after ALT-TAB" it gets better, but it is still existing.
also when opening more as 3 VS2008 instances (different sourcecode) the hanging appears with higher frequency.
Specially when saving a file with CRTL-S VS seems to get very instabil.
The only solution to come out of this problem is to kill VS2008 with the taskmanager.
My OS where it also happens very often is Vista64 bit, Quad Xeon, 16 gig ram
, VS2008 sp1, OS Patchlevel Full




If you have "Watch for externally modified files and reparse when necessary" enabled, does disabling it have any affect? (The setting is at VAssistX | Options | Performance")

If you continue to experience hangs or deadlocks, please capture a minidump and submit it to the following URL setting the subject to topic_id=8433:
http://www.wholetomato.com/support/contact.asp
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jan 13 2009 :  01:47:45 AM  Show Profile  Reply with Quote
quote:
Originally posted by SylvainUbi

I tried all version from 1707. I re-installed 1711 this morning to do some tests. Here is a summary of my experience with VA today. In chronological order:

- Installed 1711
- Rebuild DB + Clean Cache
- Waited 10 minutes for project to parse entirely
- Everything looked fine
- After a while...
- Right-click -> Refactor to rename member variable
- Cancel because was taking too long
- Decided to Find In File to replace manually
- DevStudio Hung and finally crashed




If you experience a crash, please capture a minidump and submit it to the following URL setting the subject to topic_id=8433:
http://www.wholetomato.com/support/contact.asp

Do you have any other addins installed?

Does your build process modify any of your project files?
Go to Top of Page

SylvainUbi
New Member

4 Posts

Posted - Jan 13 2009 :  09:14:52 AM  Show Profile  Reply with Quote
- I sent a dump of one of the crash
- I have several plugins installed, two are propretary (to build our scripts and blob files and navigate through our script files), I have the Xbox 360 & PS3 Dev Studio integration and VAX. Never caused any troubles until VA 1707
- Our build process does not modify project files but CPP files ( we have a pluging to blob our files for faster compilation)
- I disabled "watch for externally modified files". I'll let you know of any improvements

I'll send more dumps as I get crashes during the day.
Sylvain
Go to Top of Page

SylvainUbi
New Member

4 Posts

Posted - Jan 13 2009 :  09:45:09 AM  Show Profile  Reply with Quote
New Dev Studio freeze. I was not able to close it in a way to get a dump. It was like if an invisible modal window was on top. I was browsing through code after compilation errors. The response time to open the file and go to the line was very slow.I was jumping from a file to another. One of this file was our in-house script (which we associated to VA to get syntax highlighting). I started writing code then it hung when I tried to swap to another file.

I'll try to remove the association between the script and VA. But again, this used to be working well with 1649. FYI: "watch for externally..." was turned off.

Sylvain
Go to Top of Page

Lehner Franz
New Member

7 Posts

Posted - Jan 13 2009 :  2:26:12 PM  Show Profile  Reply with Quote
Hi
No i do not use WPF.
But we have a mixed environment, having .js files, .c, .cxx, lots of macros and spanning our project over DLL boundary's and things in our projects too.
Today (bad) i did not have a hang. (different work to do) But i can tell you that the cpu load was always "0" and i got the message: "Not responding anymore"
Once i get i will connect with the debugger to the process and do a dump from it.
(having the symbols would be nice too)
and yes, the "watch for externally" was turned off too
franz
Go to Top of Page

Lehner Franz
New Member

7 Posts

Posted - Jan 15 2009 :  04:12:29 AM  Show Profile  Reply with Quote
Hang happened, 3 VS 2008 studios had been open , all 3 not responding.
It was impossible to attach VS2005 to the process to get a memory dump, as VS2005 immediatly hung too then

I have opened processmonitor and have seen that va_x.dll is hanging on a Wait:Executive / DelayExecution inside an Interlocked List.
Made some nice Impressions from the output (some screenshots)
franz

Edited by - Lehner Franz on Jan 15 2009 05:09:07 AM
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