Bug 11816 - Cannot debug in VS 2010 since installing latest update
Summary: Cannot debug in VS 2010 since installing latest update
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: 3.0
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-04-16 21:38 UTC by Ash
Modified: 2015-07-21 14:35 UTC (History)
9 users (show)

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

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:
Status:
VERIFIED FIXED

Description Ash 2013-04-16 21:38:42 UTC
When I try to debug my app in VS 2010, it fails to launch.  In the output window, I see the message:
Couldn't connect to logcat, GetProcessId returned: 0

I can debug in Xamarin Studio though.
Comment 1 Ash 2013-04-17 20:33:39 UTC
Update:

When I create a new Android app in Visual Studio, I'm able to debug OK.

When I launch my old Android app in Release mode, I'm able to debug OK.

When I uncheck the "Use Fast Deployment (debug mode only)" option, I'm able to debug my old Android app in Debug mode.
Comment 2 Collin Rusk 2014-06-11 08:10:33 UTC
I have the same issue in Visual Studio.  I cannot debug any application under any circumstance. The message: "Couldn't connect to logcat, GetProcessId returned: 0" is always displayed in the debug output window.
Comment 3 Arpit Jha 2015-07-14 01:34:59 UTC
I have checked this issue with XVS 3.11.666 and its works fine at my end.

Could you please review the url here is the issue discussed https://forums.xamarin.com/discussion/2274/message-couldnt-connect-to-logcat-getprocessid-returned-0

If you are still getting the issue then let me know and please provide the following detail.
Device with version and environment Info.

Environment Info:
Microsoft Visual Studio Professional 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Professional


Xamarin   3.11.666.0 (ebae43a)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.4.16 (5f55a9ef61c11b6ce0890bc91e4c71b1b92be214)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.Forms Intellisense   1.0
Provides intellisense for Xamarin.Forms in the XML editor.

Xamarin.iOS   8.10.2.0 (67b390d0d1bd741582cf7b7fd3ffea08583a3f83)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration
Comment 4 Akhilesh kumar 2015-07-21 14:35:19 UTC
Unable to reproduce this issue with XVS 3.11.666, so I am closing this issue.

Feel free to reopen it if anyone facing this issue.