PHP Tools (supposedly) hangs on "Preparing solution"

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Re: PHP Tools (supposedly) hangs on "Preparing solution"

Postby Miloslav Beno » June 13th, 2018, 1:09 pm

Hi Vladislav,

We've tried to open it in various ways and it didn't hang :-/ We've noticed in your callstack some other extensions doing some work, so we will try to install those. Maybe there is a correlation.

Thanks for patience and cooperation,
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1233
Joined: January 7th, 2012, 8:36 pm

Re: PHP Tools (supposedly) hangs on "Preparing solution"

Postby Miloslav Beno » June 13th, 2018, 1:20 pm

Hi Vladislav,

Checking the extensions we've found this https://github.com/github/VisualStudio/issues/1662. That might be the cause.

Could you please try to disable it just to confirm it's caused by the extension?

Thank you!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1233
Joined: January 7th, 2012, 8:36 pm

Re: PHP Tools (supposedly) hangs on "Preparing solution"

Postby BladeMF » June 13th, 2018, 2:25 pm

Miloslav Beno wrote:Hi Vladislav,

Checking the extensions we've found this https://github.com/github/VisualStudio/issues/1662. That might be the cause.

Could you please try to disable it just to confirm it's caused by the extension?

Thank you!


Hi. I tried disabling it, but the problem still persists (and they did mark it fixed). Currently I cannot open the solution at all (tried from Team Explorer) and nothing has changed. I guess I was lucky yesterday... Tried disabling one more extension but no luck.

Have you tried loading the solution?
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 334
Joined: October 10th, 2012, 7:14 am

Re: PHP Tools (supposedly) hangs on "Preparing solution"

Postby BladeMF » June 13th, 2018, 3:00 pm

Miloslav Beno wrote:Hi Vladislav,

Checking the extensions we've found this https://github.com/github/VisualStudio/issues/1662. That might be the cause.

Could you please try to disable it just to confirm it's caused by the extension?

Thank you!


More info: The only way to load the solution reliably is to load ANOTHER solution first (preferably one that does not hang), then close it and then open the solution you want. It clearly interferes with the loading of a package. In the callstack there is:

Code: Select all
Microsoft.VisualStudio.Shell.UI.Internal.dll!Microsoft.VisualStudio.Services.AsyncQueryService.AsyncServiceProvider.LoadServicePackage(System.Guid guidService, bool loadPackageSynchronously)


In the debugger, the guidService is {da92fbc9-6753-3e4d-afaf-579e0c54f3cc}, which is (I think) part of Developer Analytics Package (https://marketplace.visualstudio.com/it ... yticsTools). Disabling it seems to solve the problem, but this seems included in Visual Studio and I don't like disabling it.

Can you guys confirm and possibly see what is interfering with and talk to the guys in MS if it has something to do with your extension?
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 334
Joined: October 10th, 2012, 7:14 am

Re: PHP Tools (supposedly) hangs on "Preparing solution"

Postby BladeMF » June 13th, 2018, 3:03 pm

Miloslav Beno wrote:Hi Vladislav,

Checking the extensions we've found this https://github.com/github/VisualStudio/issues/1662. That might be the cause.

Could you please try to disable it just to confirm it's caused by the extension?

Thank you!


The following packages depend on this:

Developer Analytics tools
Universal Windows Platform tools for Cordova
Universal Windows Platform tools for Xamarin
Office/SharePoint development
Universal Windows Platform tools
Universal Windows Platform development

It does not seem like a good idea to disable it :)
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 334
Joined: October 10th, 2012, 7:14 am

Re: PHP Tools (supposedly) hangs on "Preparing solution"

Postby BladeMF » June 14th, 2018, 9:28 am

Some more info. We have some files in the solution that when excluded, the solution loads every other time. I tried moving all files to a Console App solution and it loads fine and clearly the language service loads as well. So it seems related with the PHP project system.
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 334
Joined: October 10th, 2012, 7:14 am

Re: PHP Tools (supposedly) hangs on "Preparing solution"

Postby Miloslav Beno » June 26th, 2018, 11:22 am

Hi Vladislav,

May I ask you again for the callstack from the latest version ( 10855 ). We've tried to replicate it here with the extension, but without success. Hopefull the new callstack will help us.

Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1233
Joined: January 7th, 2012, 8:36 pm

Re: PHP Tools (supposedly) hangs on "Preparing solution"

Postby BladeMF » June 26th, 2018, 1:26 pm

Miloslav Beno wrote:Hi Vladislav,

May I ask you again for the callstack from the latest version ( 10855 ). We've tried to replicate it here with the extension, but without success. Hopefull the new callstack will help us.

Thanks!


Do you need the main thread or all threads?
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 334
Joined: October 10th, 2012, 7:14 am

Re: PHP Tools (supposedly) hangs on "Preparing solution"

Postby Miloslav Beno » June 26th, 2018, 1:34 pm

All the threads please.

Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1233
Joined: January 7th, 2012, 8:36 pm

Re: PHP Tools (supposedly) hangs on "Preparing solution"

Postby BladeMF » June 26th, 2018, 1:35 pm

Miloslav Beno wrote:Hi Vladislav,

May I ask you again for the callstack from the latest version ( 10855 ). We've tried to replicate it here with the extension, but without success. Hopefull the new callstack will help us.

Thanks!


Nevermind. I am uploading the stack for all threads. What I find interesting is these lines on the main thread:

Code: Select all
Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.dll!Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.FileIndicatorPackage.Initialize()
......
Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.dll!Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.FileIndicatorMargin.FileIndicatorSetup()
Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.dll!Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.FileIndicatorMargin.FileIndicatorMargin(Microsoft.VisualStudio.Text.Editor.IWpfTextView textView, Microsoft.VisualStudio.Language.Intellisense.ICodeLensAdornmentCache codeLensAdornmentCache, System.IServiceProvider serviceProvider, Microsoft.VisualStudio.Text.Editor.IEditorOptions editorOptions, Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.FileIndicatorTag fileIndicatorTag, Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.IFileIndicatorTelemetryLogger fileIndicatorTelemetryLogger, Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.IFileIndicatorViewModelFactory fileIndicatorViewModelFactory)
Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.dll!Microsoft.VisualStudio.CodeSense.FileIndicator.Provider.FileIndicatorMarginFactory.CreateMargin(Microsoft.VisualStudio.Text.Editor.IWpfTextViewHost textViewHost, Microsoft.VisualStudio.Text.Editor.IWpfTextViewMargin containerMargin)
....


Is it possible that it depends on the content of the opened file? Did you try with the solution that I provided?

Is it possible also that this is somehow connected with git?

Also, maybe it involves some other extensions interfering. Here is a full list:

Code: Select all
Microsoft Visual Studio Enterprise 2017
Version 15.7.4
VisualStudio.15.Release/15.7.4+27703.2035
Microsoft .NET Framework
Version 4.7.03056

Installed Version: Enterprise

Architecture Diagrams and Analysis Tools   00369-60000-00001-AA337
Microsoft Architecture Diagrams and Analysis Tools

Add New File   3.5
The fastest and easiest way to add new files to any project - including files that start with a dot

ASP.NET and Web Tools 2017   15.0.40601.0
ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services   15.7.31476
Provides languages services for ASP.NET Core Razor.

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

Azure App Service Tools v3.0.0   15.0.40608.0
Azure App Service Tools v3.0.0

BetterStartPage   1.0
This is a VS2015 like start page which replaces the news section by a custom project dashboard.
In the project dashboard you can organize your solutions and projects into different groups for fast access.

To edit the dashboard right-click on the empty area and enable the edit mode in the context menu.
Add new groups by clicking on the "Add Group" link on the bottom, add new projects to the group by dragging Solution or Project files from the explorer to the groups.
You can reorder or delete groups and projects by using the action buttons beside the items.

Browser Sync   1.3.30
A Visual Studio extension for ASP.NET projects that leverages Browser Link to synchronize form field entry, page navigation and scroll position.

Bundler & Minifier   2.7.385
Adds support for bundling and minifying JavaScript, CSS and HTML files in any project.

C# Tools   2.8.3-beta6-62923-07. Commit Hash: 7aafab561e449da50712e16c9e81742b8e7a2969
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

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

File Icons   2.7
Adds icons for files that are not recognized by Solution Explorer

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

GitFlow.VS.Extension   1.0
Visual Studio extension that integrates GitFlow

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

HTML Tools   1.0.3
Productivity tools for the HTML editor

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

JavaScript Regions   1.1.3
Adds support for region comments in JavaScript and TypeScript files

JavaScript UWP Project System   2.0
JavaScript UWP Project System

LadgerProjects   1.0
Information about my package

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

Merq   1.1.19-rc (a4ffc1b)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.10420.2

Microsoft Continuous Delivery Tools for Visual Studio   0.3
Simplifying the configuration of continuous build integration and continuous build delivery 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 MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers

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   4.10.5-pre (ab58725)
Support for debugging Mono processes with Visual Studio.

Node.js Tools   1.4.11027.3
Adds support for developing and debugging Node.js apps in Visual Studio

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

Office Developer Tools for Visual Studio 2017 ENU   15.0.27612.00
Microsoft Office Developer Tools for Visual Studio 2017 ENU

Open Command Line   2.1.212
Opens a command line at the root of the project. Support for all consoles such as CMD, PowerShell, Bash etc. Provides syntax highlighting, Intellisense and execution of .cmd and .bat files.

PHP Tools for Visual Studio   1.28.10855.2017
PHP Tools extend Visual Studio with a set of features to build PHP applications more efficiently. It makes code more readable, easier to navigate, and clean.

Project File Tools   1.0.1
Provides Intellisense and other tooling for XML based project files such as .csproj and .vbproj files.

ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info

ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info

SQL Server Data Tools   15.1.61804.210
Microsoft SQL Server Data Tools

TypeScript Tools   15.7.20419.2003
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   2.8.3-beta6-62923-07. Commit Hash: 7aafab561e449da50712e16c9e81742b8e7a2969
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools 10.1 for F# 4.1   15.7.0.0.  Commit Hash: 173513e369ffb7a1c4d5dccf83696d9aac2ab2d0.
Microsoft Visual F# Tools 10.1 for F# 4.1

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

Visual Studio Tools for Universal Windows Apps   15.0.27703.2035
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

VisualStudio.Mac   1.0
Mac Extension for Visual Studio

VSColorOutput   2.5.1
Color output for build and debug windows - http://mike-ward.net/vscoloroutput

Web Compiler   1.11.326
Compiler for LESS, Sass and CoffeeScript files

Web Essentials 2017   1.5.31
The easiest way to set up Visual Studio for the ultimate web development experience. Requires Visual Studio 2017 Update 3 or newer

Windows Machine Learning Generator Extension   1.0
Windows Machine Learning Visual Studio Extension Detailed Info

Workflow Manager Tools 1.0   1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

Xamarin   4.10.10.2 (35a01d8dc)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer   4.12.1 (f3257e429)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin.Android SDK   8.3.3.2 (HEAD/dffc59120)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK   11.12.0.4 (64fece5)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

ZenCoding   1.2.11
Provides ZenCoding for the HTML Editor - full support for static HTML, Razor and WebForms.
You do not have the required permissions to view the files attached to this post.
Welcome to the zone where normal things don't happen very often.
BladeMF
 
Posts: 334
Joined: October 10th, 2012, 7:14 am

PreviousNext

Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 5 guests

cron

User Control Panel

Login

Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 89 on October 15th, 2018, 4:06 pm

Users browsing this forum: No registered users and 5 guests
Phalanger