T O P I C R E V I E W |
Nowhere-01 |
Posted - Jan 17 2013 : 1:53:54 PM i would like to finally report an issue about Visual Assist X, which is driving me crazy. it is impossible to use. i have noticed it in several different solutions, it reacts to almost any change with about 5-10 seconds parsing. plus-plus icon appears. devenv consumes all processor time. sometimes text editor is unresponsive. sometimes _most of the applications i have running become uresponsive because of it_. visual assist don't give code suggestions in that period. so it becomes useless, because that's the main reason i use it. and that happens a lot. it's the same with several medium projects(5-20 source files, 1000-1500 lines each in average). some of them have many external dependencies, but they are not opened in my IDE. and if i dare to press Ctrl+S during it parsing - i'm doomed to suffer through even longer guaranteed freeze of the whole ide, until it finishes everything. and it does it more often when project grows, now it just constantly parsing for something.
i'm using vs2010 on windows 7 x64. no addons, nothing weird. IDE and all the includes\\libraries are on the SSD(yes, this all happens on the ssd-drive. it basically makes no difference in comparison with the times i used regular hdd). i've tried clearing cache, rebuilding, restarting IDE - makes no difference. i have disabled checking for external modifications.
cpu - i7 920 memory - 1600mhz, 8Gb corsair SSD - corsair Force GT 120Gb
VAX build 10.7.1925(and i remember this issue about one and a half years ago. but now it became much worse. there's no point having VAX enabled, it screws up everything). |
9 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Jan 22 2013 : 11:18:41 AM That makes sense, and I am glad this is now working well for you. Disabling the IDE intellisense will stop a few IDE features working, but hopefully it won't cause you to many problems.
If you have any other questions or problems then please let me know. |
Nowhere-01 |
Posted - Jan 22 2013 : 10:50:46 AM presentation zoom does not affect problem.
VA's Find References works ok. i was using defualt "Find all References" unaware about VA's replacement. i think, i'm ok without intellisense. VA with Display\\Suggestion settings maxxed out replaces it on acceptable level. and more importantly, much faster and more stable. |
feline |
Posted - Jan 21 2013 : 12:51:02 AM Presentation Zoom does not sound like it should be causing any problems, but can you please try disabling it anyway, just to see if this is a factor?
VA Refactoring should work just fine even with the IDE intellisense disabled. What happens when you trigger VA's Find References command? Do you get a message? No results? Does VA run a scan at all? Does this work on local variables inside a function? |
Nowhere-01 |
Posted - Jan 19 2013 : 05:53:41 AM well with VA disabled intellisense is still pretty slow, but i didn't experience those dreadful lags. i have only one extension: Presentation Zoom http://visualstudiogallery.msdn.microsoft.com/6a7a0b57-7059-470d-bcfa-60ceb78dc752
without intellisense VA works flawlessly fast, but it lacks some refactoring features, like "Find All References" and some other minor functions. |
feline |
Posted - Jan 18 2013 : 2:06:31 PM This is a tiny solution, intellisense parsing should never be this slow on such a fast system unless something is really confusing the parser.
Can you try disabling VA in:
IDE tools menu -> Extension Manager...
and enable the IDE intellisense parsing, for a quick test, and see if you still see serious CPU usage when editing. If this is happening with just the IDE, without VA, then we know VA is not the main cause, which is something.
Do you have any other extensions installed? |
Nowhere-01 |
Posted - Jan 18 2013 : 12:35:58 PM quote: Originally posted by feline
VA Options -> Advanced -> Listboxes -> Get content from default Intellisense
turned On or Off? If this is turned Off can you please turn it On. This should help a bit.
it was turned on.
quote: Originally posted by feline How many files do you have in your solution?
25
quote: Originally posted by feline If you open VA's Open File in Solution dialog (Alt-Shift-O) the title bar contains two numbers. The first number is the number of files currently listed, which changes as you filter the list. The second number is the total number of files in the list, which is normally the number of files in your solution. What is this second number?
26(plus "project_name.rc")
quote: Originally posted by feline VA Options -> System Info -> Copy Info
VA_X.dll file version 10.7.1925.0 built 2012.12.14 Licensed to: VA X: ##email## (1-user license) Support ends 2014.01.11 DevEnv.exe version 10.0.30319.1 Ultimate msenv.dll version 10.0.30319.1 Comctl32.dll version 6.10.7601.17514 Windows 7 6.1 Build 7601 Service Pack 1 8 processors (x86-64; WOW64) Language info: 1251, 0x419
Platform: Project defined Stable Includes: C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v7.0A\\include; C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\include; C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\include; C:\\data\\programming\\bulletp\\src; C:\\data\\programming\\includes;
Other Includes:
Stable Source Directories: C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\crt\\src; C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\atl; C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\mfcm; C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\mfc;
|
feline |
Posted - Jan 18 2013 : 11:09:57 AM Can you look and see if you have:
VA Options -> Advanced -> Listboxes -> Get content from default Intellisense
turned On or Off? If this is turned Off can you please turn it On. This should help a bit.
The IDE intellisense scanner can be slow, but this normally only shows up like this in older IDE's, and in much larger solutions.
How many files do you have in your solution?
If you open VA's Open File in Solution dialog (Alt-Shift-O) the title bar contains two numbers. The first number is the number of files currently listed, which changes as you filter the list. The second number is the total number of files in the list, which is normally the number of files in your solution. What is this second number?
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. |
Nowhere-01 |
Posted - Jan 17 2013 : 11:31:31 PM i've just disabled intellisense through ~Text Editor -> C/C++ -> Advanced -> Disable Intellisense = True; it solved issues described above. i've never considered it because i thought Visual Assist won't work without it. i've tried deleting sdf file before, it made no difference. and intellisense wasn't so bad without VAX, i mean it was bad and inefficient, but not so ridiculous. so i thought it is solely VAX problem.
But my situation is not so good now. Because disabling intellisense still denies some functionality. it still gives me auto-complete suggestions. but it doesn't show method information(return value, arguments, overloads) on mouseover. visual assist shows toolbox only when i fill arguments for function call. that's the thing i've noticed instantly, i think, there's much more lacking functionality now.
Edit: if i set Display parameter of VAX to Maximum, it shows tooltips for methods. i've tied disabling AV, it made no difference. i've noticed this behaviour for all files. and yes, i'm working with c++. |
feline |
Posted - Jan 17 2013 : 5:57:58 PM Apologies for these problems, something is going very wrong, you should never see such a slow down with such small solutions and files.
As a first test, can you please try setting:
IDE tools menu -> Options -> Text Editor -> C/C++ -> Advanced -> Disable Database = True
and see if this makes any difference? This will stop the IDE Intellisense parser from running, so we only have to consider VA's parser.
Can you look for and delete the .SDF file that lives next to your .SLN file, and see if this makes any difference? This is the file VS2010 stores its symbol database in. I have seen corrupt IDE database files cause problems, so its worth a quick test. Once you turn the IDE intellisense back on again this file will be recreated.
If you run a CPU monitor, is any other process using a lot of CPU time when this problem happens? Very occasionally anti-virus programs scanning VA's symbol database can cause problems.
Are you seeing this problem in all files, or just some files? If this is a "normal" problem, some complex code is causing our parser major problems, then I would expect this to be file specific, perhaps linked to a specific #include statement if you are working in C/C++. |
|
|