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 2380: occasional lock ups
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
1929 Posts

Posted - Jul 16 2020 :  10:32:48 AM  Show Profile  Reply with Quote
When I start VS2019 normally as non-admin, then when debugging VS asks to restart with elevated privileges. In such a case sometimes during a break in the debug session, VS just locks up. Looking up the wait chain always shows this:


This happens in C# and VB projects. Havent tested C++ or F# yet. It seems to have something to do with hovering over symbols in the edit window during a debug session. VS consumes 20-25% processor and never stops neither reacts. No clear repro case.

ChrisG
Whole Tomato Software

USA
209 Posts

Posted - Jul 16 2020 :  10:37:09 AM  Show Profile  Reply with Quote
Thanks for reporting this. Would you be able to capture a dump next time it happens? How frequently to do you see the issue when you are debugging?
Go to Top of Page

Uniwares
Tomato Guru

Portugal
1929 Posts

Posted - Jul 16 2020 :  10:40:43 AM  Show Profile  Reply with Quote
Will do. Frequency about twice a week.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16778 Posts

Posted - Jul 16 2020 :  12:32:31 PM  Show Profile  Reply with Quote
Are there any C++ code files in your solutions? I only ask since Code Inspection should not be doing anything if it is not seeing C++ code, so this is rather odd.

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

Uniwares
Tomato Guru

Portugal
1929 Posts

Posted - Jul 16 2020 :  1:01:42 PM  Show Profile  Reply with Quote
None at all. I see this happening even with VB only solutions. In fact, I see VA related coloring happening in VB code too, although only in some files.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16778 Posts

Posted - Jul 17 2020 :  04:52:17 AM  Show Profile  Reply with Quote
OK, that really is unexpected. Is this a reliable effect? If you close one of the files where you see VA colouring and reload the file, do you still see VA colouring in the file? Does scrolling the file, or moving between files have any effect on this?

Are you seeing the VA context and definition fields at the top of the editor window in these VB files?

I don't know if this is connected or not, but it could be. Can you please double check and see what you have the registry value:

HKEY_CURRENT_USER\SOFTWARE\Whole Tomato\Visual Assist X\VANet16\RestrictVaToPrimaryFileTypes = ??

is set to? What ever this is set to, you should be seeing consistent colouring from VA in VB files, either on or off.

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

Uniwares
Tomato Guru

Portugal
1929 Posts

Posted - Jul 17 2020 :  05:24:04 AM  Show Profile  Reply with Quote
RestrictToPrimaryFileTypes = 01

Closing and reopening the same .vb file does not reproduce the coloring. Scrolling works fine, doesnt change coloring when working. Disabling VA and reenabling, returns to the same coloring state of the current file. Switching between open files doesnt change the coloring.

There is no pattern to when syntax coloring appears in .vb files.

No context or definition fields.

Will upload a dump now to the ftp. Just had another lockup.





Edited by - Uniwares on Jul 17 2020 05:31:41 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16778 Posts

Posted - Jul 17 2020 :  09:45:58 AM  Show Profile  Reply with Quote
I remember that we have encountered some VA symbol database corruption on your system. So I am wondering if when VB files have colouring, is all of the file coloured, or only some symbols? If somehow VA is only colouring some symbols then perhaps this is related to the C# symbol database problem we have seen.

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

Uniwares
Tomato Guru

Portugal
1929 Posts

Posted - Jul 17 2020 :  09:53:14 AM  Show Profile  Reply with Quote
As I can see, its mostly recognizing methods as such and coloring correctly, variables are bold, Symbols from the .NET Framework are mostly colored correctly too. Didnt really check thoroughly. can screenshot when it happens again.
Go to Top of Page

ChrisG
Whole Tomato Software

USA
209 Posts

Posted - Jul 17 2020 :  11:07:51 AM  Show Profile  Reply with Quote
Thank you for submitting the dump. What version of Visual Studio are you running?
Go to Top of Page

Uniwares
Tomato Guru

Portugal
1929 Posts

Posted - Jul 17 2020 :  11:46:06 AM  Show Profile  Reply with Quote
Microsoft Visual Studio Community 2019
Version 16.6.4
VisualStudio.16.Release/16.6.4+30309.148
Microsoft .NET Framework
Version 4.8.03752

Installed Version: Community

Visual C++ 2019 00435-60000-00000-AA238
Microsoft Visual C++ 2019

ASP.NET and Web Tools 2019 16.6.956.60315
ASP.NET and Web Tools 2019

ASP.NET Core Razor Language Services 16.1.0.2020603+b3ac44798c16fff5b95dbcfe62dea84aa9a1bd72
Provides languages services for ASP.NET Core Razor.

ASP.NET Web Frameworks and Tools 2019 16.6.956.60315
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0 16.6.956.60315
Azure App Service Tools v3.0.0

Azure Functions and Web Jobs Tools 16.6.956.60315
Azure Functions and Web Jobs Tools

C# Tools 3.6.0-4.20251.5+910223b64f108fcf039012e0849befb46ace6e66
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Code Converter 1.0
Code Converter Extension Details

CodeMaid 11.1.209
CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, R, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.

Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

Cookiecutter 16.6.20100.1
Provides tools for finding, instantiating and customizing templates in cookiecutter format.

Entity Framework Core Power Tools 2.4
Adds useful design-time EF Core DbContext features to the Visual Studio Solution Explorer context menu.



Extensibility Message Bus 1.2.0 (d16-2@8b56e20)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.

Fabric.DiagnosticEvents 1.0
Fabric Diagnostic Events

File Nesting 2.6.85
Automatically nest files based on file name and enables developers to nest and unnest any file manually

GitHub.VisualStudio 2.11.104.25275
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

ILSpy.AddIn 1.0
Integration of the ILSpy Decompiler into Visual Studio.

IntelliCode Extension 1.0
IntelliCode Visual Studio Extension Detailed Info

Markdown Editor 1.12.253
A full featured Markdown editor with live preview and syntax highlighting. Supports GitHub flavored Markdown.

Menu Extension 1.0
Menu Visual Studio Extension Detailed Info

Microsoft Azure Service Fabric Tools for Visual Studio 16.0
Microsoft Azure Service Fabric Tools for Visual Studio

Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.30212.1

Microsoft Continuous Delivery Tools for Visual Studio 0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.

Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

Microsoft Library Manager 2.1.50+g25aae5a24a.R
Install client-side libraries easily to any web project

Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards

Microsoft Visual Studio Tools for Containers 1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.

Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio 16.6.17 (9692114)
Support for debugging Mono processes with Visual Studio.

NuGet Package Manager 5.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Productivity Power Tools 2017/2019 16.0
Installs the individual extensions of Productivity Power Tools 2017/2019

Project System Tools 1.0
Tools for working with C#, VisualBasic, and F# projects.

ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

Python 16.6.20100.1
Provides IntelliSense, projects, templates, debugging, interactive windows, and other support for Python developers.

Python - Conda support 16.6.20100.1
Conda support for Python projects.

Python - Django support 16.6.20100.1
Provides templates and integration for the Django web framework.

Python - IronPython support 16.6.20100.1
Provides templates and integration for IronPython-based projects.

Python - Profiling support 16.6.20100.1
Profiling support for Python projects.

Regex Editor 1.0
.Net Regular Expressions tools

ResXManager 1.42.3648.0
Manage localization of all ResX-Based resources in one place. Shows all resources of a solution and let's you edit the strings and their localizations in a well-arranged data grid.

RevDeBug 1.0
Debugging aid for Visual Studio

RevDeBug 1.0
Debugging aid for Visual Studio

Show Selection Length 1.0.2
Shows the length of the editor text selection in the status bar

SQL Server Data Tools 16.0.62006.03190
Microsoft SQL Server Data Tools

SQLite & SQL Server Compact Toolbox 4.7
SQLite & SQL Server Compact Toolbox adds scripting, import, export, rename, query execution and much more to SQL Server Compact & SQLite Data Connections.

Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.

TypeScript Tools 16.0.20417.2002
TypeScript Tools for Microsoft Visual Studio

Visual Assist 10.9.2382.0
For more information about Visual Assist, see the Whole Tomato Software website at http://www.WholeTomato.com. Copyright (c)1997-2020 Whole Tomato Software, LLC

Visual Basic Tools 3.6.0-4.20251.5+910223b64f108fcf039012e0849befb46ace6e66
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual C++ for Linux Development 1.0.9.30223
Visual C++ for Linux Development

Visual F# Tools 10.9.1.0 for F# 4.7 16.6.0-beta.20217.4+1c969cac25e2d38d71872efe6c8226029e42bb59
Microsoft Visual F# Tools 10.9.1.0 for F# 4.7

Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

Visual Studio Container Tools Extensions (Preview) 1.0
View, manage, and diagnose containers within Visual Studio.

Visual Studio Tools for CMake 1.0
Visual Studio Tools for CMake

Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers

Visual Studio Tools for Kubernetes 1.0
Visual Studio Tools for Kubernetes

VisualStudio.DeviceLog 1.0
Information about my package

VisualStudio.Mac 1.0
Mac Extension for Visual Studio

VS Diff 1.8.8
Another open source Visual Studio extension that makes file/code comparison more easily.

WiX Toolset Visual Studio Extension 1.0.0.4
WiX Toolset Visual Studio Extension version 1.0.0.4
Copyright (c) .NET Foundation and contributors. All rights reserved.

Xamarin 16.6.000.1062 (d16-6@41e1f0e)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 16.6.0.318 (remotes/origin/d16-6@66afc5421)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin Templates 16.6.40 (1f1466f)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16778 Posts

Posted - Jul 17 2020 :  12:51:06 PM  Show Profile  Reply with Quote
For the Code Inspection process being listed, I have just tested VS2019 with a simple, pure C# solution, and the VaCodeInspectionsServer.exe shows up in the process list regardless, so its presence here doesn't actually tell us anything at all.

Hopefully the dump file will offer some clues.

As for the VB colouring problem, so much for that theory and guess.

How easily reproduced is this? If you just open your solution and open several VB files will you normally see some of them being coloured by VA? This may not be connected at all, but it's really strange and unexpected.

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

Uniwares
Tomato Guru

Portugal
1929 Posts

Posted - Jul 17 2020 :  1:11:40 PM  Show Profile  Reply with Quote
From what I can tell, what seems to trigger it when VS restarts because of lack of privileges to debug AND you had a debug session after that. But its not constant. Tried it a few times, but its not reproducable on demand.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16778 Posts

Posted - Jul 24 2020 :  11:06:43 AM  Show Profile  Reply with Quote
How are you running the "base" process, the one that you want to attach to, to debug? Trying this from this angle, to see if it offers any clues, I am not asked to restart the IDE as administrator to just attach to a normally running program. So I am wondering if this is a factor somehow.

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

Uniwares
Tomato Guru

Portugal
1929 Posts

Posted - Jul 24 2020 :  11:21:35 AM  Show Profile  Reply with Quote
It depends if you are admin on your machine already or not AND if the app requires elevated privileges. My user is just a user, thats why VS requires me to restart as admin for some of my apps. More information here: https://docs.microsoft.com/en-us/previous-versions/bb531485(v=vs.140)?redirectedfrom=MSDN
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000