Bug 40055 - Visual Studio locks up when launching WPF inspector
Summary: Visual Studio locks up when launching WPF inspector
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Inspector Integration ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: inspectordev-discuss
Depends on:
Reported: 2016-04-01 17:19 UTC by Nate Stoddart
Modified: 2017-09-08 16:48 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Inspector log (useless) (56 bytes, text/plain)
2016-04-01 17:19 UTC, Nate Stoddart

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Nate Stoddart 2016-04-01 17:19:01 UTC
Created attachment 15588 [details]
Inspector log (useless)

I created a WPF application, and started a debug session without changing any code.  I am using VS2015 Enterprise v4.6.01531 with Xamarin Inspector v0.7.0.0.  My debug session starts appropriately and the blank WPF window appears.  When I press the Inspector button, my application and Visual Studio both stop responding until I kill the vshost process.  When I kill the process, the debug session ends, and I am not able to inspect my application.  The standalone Workbook application runs just fine and I'm able to interact with no problems.
Comment 1 Sandy Armstrong [MSFT] 2016-04-04 15:32:28 UTC
Is the WPF application you're inspecting 32-bit or 64-bit?

I have seen this behavior before when trying to inspect 64-bit WPF applications.
Comment 2 Nate Stoddart 2016-04-04 17:18:33 UTC
I have tried it as both x86 and Any CPU (I'm on a 64-bit OS), with the same behavior both times.  I haven't made any code changes to the project or anything like that.  Not sure if it's worth mentioning that I'm on Windows 10, as well.
Comment 3 Sandy Armstrong [MSFT] 2016-04-12 23:57:34 UTC
I believe this is fixed in the upcoming 0.7.2 as part of my fix for bug #37134.