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
 Visual Studio frequent long delays / freezes
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

GregDude
Senior Member

34 Posts

Posted - Jan 26 2026 :  11:02:14 PM  Show Profile  Reply with Quote
Currently using Visual Studio 2026
Version: 18.1.1

Visual Assist
installer 2598_0
Version 10.9.2598
(Only recently changed to this version, most experience was with VA version 10.9.2597.0, though issue appear to persist.)

The current freezes last seconds to a couple minutes (30 sec to 3 minutes is not unusual). VS does not bring up the message acknowledging a delay and reporting it. Nothing is logged in Help -> Visual Studio Performance Manager.

This is with a large solution with normal C++ projects (Also have CMake cross platform projects, but this issue is not specific to those.)

I have not isolated the issue, except to observe it often re-occurring with some projects or files I'm currently working on.
Disabling VA causes the issue to completely disappear at present.
Have seen some form of freeze occur with these interactions:

. try entering project properties
. try viewing header files (go to #include file)
. try hover tab name for full path

During some delays, a message box flashes briefly with "loading document", often multiple times.

This is most frustrating, so any help to identify and fix the issue would be appreciated.

feline
Whole Tomato Software

United Kingdom
19305 Posts

Posted - Jan 27 2026 :  06:19:56 AM  Show Profile  Reply with Quote
I recall one other user reporting this problem, but we never got any useful clues, and from memory the problem "went away" after an update, so no help there.

Have you seen this problem since starting to work with VS2026?

Have you tried disabling IDE intellisense? Setting:

IDE tools menu -> Options -> Languages -> C/C++ -> Enable IntelliSense = Off

should do this, but I would follow it by a VS2026 restart just to be sure. If both IDE IntelliSense and VA's parser are busy at the same time this might explain the effect, but I would expect some form of message on the status bar.

If you run Windows Task Manager, or a similar tool, do you see a spike in CPU or IO when this happens?

Hovering over a tab name is a REALLY odd trigger for this though. There is nothing there that should trigger or require extra parsing, or any "hard" work from anyone.

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? This will just give me a sense of your solution size.


If none of this offers any clues, installing VA into a test profile is probably the next sensible step. Which edition, community, professional, enterprise, of VS2026 are you using? The steps are slightly different for each edition, so I can give you the right steps for your edition.

If the problem is related to an interaction problem with another extension, or some form of problem in your IDE settings, then this should help fix the problem. If however it makes no difference, it tells us it is something system wide, or perhaps solution specific. But solution specific seems odd when you are seeing this across several different solutions. Unless the solutions have some meaningful overlap?

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

GregDude
Senior Member

34 Posts

Posted - Jan 29 2026 :  12:40:07 AM  Show Profile  Reply with Quote
Thank you for responding. I'll try the things you suggests.
Unfortunately I don't have a reliable repro case to investigate more easily.

>>Have you seen this problem since starting to work with VS2026?
I think so. I've seen increased delays since starting to use VS2026 recently.
I'd previously had frequent delays of about 30 seconds with VS2022, but mostly with a large CMake project.
I'm using a mix of VS versions and project types, so don't experience the same thing every day.

>>...do you see a spike in CPU or IO when this happens?
I did pop up Task Manager last time, but didn't learn anything. VS was pegged at 100% CPU I think, but the system has many cores which were idle. Didn't notice disk spike. I'll investigate further next time.

>>How many files do you have in your solution?
'Open File in Solution' says 5270.

>>Which edition... of VS2026 are you using?
Microsoft Visual Studio Professional

I don't have any other 3rd party extensions installed.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19305 Posts

Posted - Jan 29 2026 :  12:50:26 PM  Show Profile  Reply with Quote
That solution size really bothers me, since it is a tiny number by some standards. I was expecting a number in the hundreds of thousands, given the length of delays you are seeing.

Do you work with very complex macro code? I know this is almost a meaningless question, but I have occasionally seen problem files that are just hundreds or thousands of lines of solid macros, leading to very complex code generation.

Do you work with very large files? My test case for a large file is a 23,000 line file.

Files with very large numbers of methods? I have a test case with 1,556 methods in a single file.


To install VA into a test profile, can you first download the VS2022 specific installer for Visual Assist from:

https://downloadfiles.idera.com/WholeTomato/VA_X_Setup2588_0_x64.vsix

Next you will need extra details about the IDE install to create a test profile. To get these details, please open a Windows command prompt window, and inside the window run the command:

"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"

There will be a set of lines for each different version of Visual Studio that you have installed. For the version you want to install into, you want the "productPath", "dispalyName" and "installationVersion" lines, e.g.

productPath: C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe
displayName: Visual Studio Professional 2022
installationVersion: 17.14.36717.8

You can then use the information from these three lines to make sure that the following command has the correct command line parameters. The values are:

/appidname: = displayName:
/appidinstallpath: = productPath:
/skuVersion: = installationVersion:

The "/skuName:" value is one of "Community / Pro / Enterprise", note for the Professional version it is "Pro", not the expected "Professional".

The working command, for VS2022, using the values above, is - split into lines to make it easier to read and edit:


"C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VSIXInstaller.exe"
/appidinstallpath:"C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe"
/skuName:Pro
/appidname:"Visual Studio Professional 2022"
/skuVersion:17.14.36717.8
/rootSuffix:"VATest" "C:\Users\%USERNAME%\Downloads\VA_X_Setup2588_0_x64.vsix"


The "rootSuffix" is the name of the test profile you want to install to, and this will be created if it does not already exist. The final parameter is the path of the VSIX installer for Visual Assist that you want to install. Once you have the command set up, the only parts you should need to edit are the skuVersion and the path to the VSIX file, can you please close all instances of Visual Studio and run this command.

Running this command installs VA into the test profile, but it does not load the test profile. If you created the test profile by installing VA, when you run the test profile it will be using the default IDE settings, without asking you which settings you want to use.

To now load the test profile you use the command:

"C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe" /RootSuffix VATest

To load your normal, default profile just load the IDE normally. To return to this test profile again, pass the /RootSuffix command line switch when loading the IDE. You can run both profiles at the same time, next to each other. In VS2019 and VS2022 the profile name will be shown just under the close button, in the top right hand corner of the main IDE window. If you export your IDE settings from your main profile you can them import them into the test profile.


Given the random sounding nature of this problem it might take a little while to see if this makes a difference or not, but if it does help, it tells us that the problem is something in your default profile, which definitely narrows it down.

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