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
 Exception when VA opens suggestion list
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Leonixidas
New Member

Belgium
6 Posts

Posted - Apr 10 2019 :  10:53:10 AM  Show Profile  Reply with Quote
I have this problem where I get an exception when I start coding and make use of the VA suggestion list.
I'd like to get rid of this problem because it is rather annoying. This happens to every project that I open.
I recently installed VA and I didn't have this problem before so I assume that it's VA. Any info on how to fix this problem?



















feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - Apr 10 2019 :  11:10:07 AM  Show Profile  Reply with Quote
Apologies for this.

As a first step can you please go into the extensions and updates dialog:

IDE tools menu -> Extensions and Updates...

and find Visual Assist in your list of installed extensions. Now disable VA, which will require an IDE restart to fully do. Does this fix the problem? Based on your experience it probably will, but this will confirm if VA is a factor or not.

If this does fix the problem, can you please try Enabling VA again, in the same dialog, and see if this makes any difference? Again this will require an IDE restart. Sometimes, when seeing an exception, simply disabling and enabling VA is enough to fix the problem.

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

Leonixidas
New Member

Belgium
6 Posts

Posted - Apr 10 2019 :  11:16:40 AM  Show Profile  Reply with Quote
@feline I have enabled VA and then tried again, it didn't give an exception as expected. Then I Enabled VA again and it gave the same exception again. Another piece of information is that I only have the exception once per opened solution. So after closing the solution and opening it again I will get the exception again. I have never gotten it twice in the same solution load.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - Apr 10 2019 :  1:14:55 PM  Show Profile  Reply with Quote
This is a little unexpected. Normally when there is an exception, which you only get once after opening a solution, disabling and enabling VA fixes the problem. Obviously that is not happening here.

First up 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.

Do you have any other extensions installed, apart from the default ones that ship with the IDE? I am wondering if this could be a factor.

Another thought, if you load the solution, but then disable VA via the menu item:

VAssistX -> Enable/Disable Visual Assist X

before seeing the exception, and then trigger a listbox or two, do you still get the exception? I am wondering if VA has to be installed and active, or just installed and loaded (not disabled in the extensions dialog) to trigger this exception.

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

Leonixidas
New Member

Belgium
6 Posts

Posted - Apr 10 2019 :  1:29:35 PM  Show Profile  Reply with Quote
Here is the info:

License: Non-renewable Academic ([email protected] / License key) Support ends 2020.04.09
VA_X.dll file version 10.9.2324.0 built 2019.03.08
DevEnv.exe version 15.9.28307.586 Enterprise
msenv.dll version 15.0.28307.421
Comctl32.dll version 6.10.17763.379
Windows 10 10.0 1809 Build 17763.379
12 processors (x86-64, WOW64)
Language info: 1252, 0x409

Platform: Project defined
Stable Includes:
C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\Include\um;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\cppwinrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\winrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\shared;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\VS\UnitTest\include;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\VS\include;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\atlmfc\include;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include;
C:\Program Files (x86)\Visual Leak Detector\include;

Other Includes:

Stable Source Directories:
C:\Program Files (x86)\Windows Kits\10\Source\10.0.17763.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\VS\src;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\crt\src;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\atlmfc\src\atl;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\atlmfc\src\mfcm;
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\atlmfc\src\mfc;

As for other extensions, I first had Resharper++ installed but I was discontent with the performance of the extension.
So I bought VA and I was happy because performance was way better. I still had the Resharper++ installed, so I thought they maybe would've conflicted each other but it still gave the exception.

I have the perforce extension as well but I never had any problems with that. I tried disabling this but that didn't work as well.

I tried disabling VA via the drop down menu and it still gave me an exception.

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - Apr 12 2019 :  08:08:27 AM  Show Profile  Reply with Quote
Thank you for the information. Nothing seems all that odd or unexpected here.

First a quick sanity check, if you make a new, default C++ solution, do you still see the exception? It seems unlikely that the problem is solution specific, but not impossible.

If you are still seeing the exception, can you please close all instances of the IDE and now run the command:

"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\devenv.exe" /RootSuffix VATest

this will load VS2017 with a new, default profile. So it will ask you which set of settings you want to use with the IDE. After loading the IDE can you please go to the:

IDE tools menu -> Extensions and Updates...

dialog and install VA from the online extension store. This will install VA into this separate profile. To reload the IDE into this profile, pass the same command line switch when you load the IDE. Do you still get the exception when testing in this new, default profile?

If you don't then we know that somehow the problem is related to your profile. If you do then we know it is something about the machine its self.

To return to your default profile just load the IDE normally, without any command line switches.

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

Leonixidas
New Member

Belgium
6 Posts

Posted - Apr 12 2019 :  12:13:48 PM  Show Profile  Reply with Quote
So I made a new project and still got the exception. So I tried the command line VATest and installed VA then closed it again.
I didn't have to choose what settings that I wanted to use though. So I don't know if that's normal but it looked like the default visual studio.
After opening it again with the same command line, I made a new project and triggered the suggestion list without getting an exception.
So this means that it is a profile problem right? Then what do I have to do?

<i><s>Leander</s></i>

Edited by - Leonixidas on Apr 12 2019 12:14:32 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - Apr 15 2019 :  06:36:42 AM  Show Profile  Reply with Quote
I expected you to be asked which colour scheme to use for the new profile, at least, but it looks like the test still told us something useful.

Can you try loading your normal profile, then exporting your VA and IDE settings:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

and then import them into your test profile. Does this cause the exception to start happening? It shouldn't, but its best to double check.

If everything is still working correctly in your test profile, and you are happy to reset your main profile and reimport your settings, then make sure all instances of the IDE have been closed, look for the file:

C:\Users\%USERNAME%\AppData\Local\Microsoft\VisualStudio\15.0_*\privateregistry.bin

or perhaps "privateregistry.user.bin"

note the "15.0*" directory name is machine specific, but it should always start like this. The private registry file might have either name. Deleting it should reset your profile without to many side effects. When you now load the IDE VA should still be installed, but disabled, so you will need to go into the Extensions and Updates dialog and enable VA.

Does this fix your default profile, and stop the exception from happening?

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

Leonixidas
New Member

Belgium
6 Posts

Posted - Apr 15 2019 :  07:19:32 AM  Show Profile  Reply with Quote
Hey @feline
I did everything and don't have the exception anymore!
Thanks for the great help!!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - Apr 15 2019 :  09:13:43 AM  Show Profile  Reply with Quote
Thank you for the update, I am glad this is now fixed. It sounds like something in your IDE profile became corrupted, which is why you were seeing the exception. So hopefully this will now stay fixed.

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

Leonixidas
New Member

Belgium
6 Posts

Posted - Apr 15 2019 :  09:15:33 AM  Show Profile  Reply with Quote
I hope so too! Thanks for the help again! even though it wasn't that big of a deal because I could still work, but it was a bother because I got it every time. Oh well I guess this can be closed haha
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