Bug 41423 - Debugger does not hit breakpoints or hangs in VS 2013
Summary: Debugger does not hit breakpoints or hangs in VS 2013
Status: RESOLVED NORESPONSE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Debugger ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Joaquin Jares
URL:
Depends on:
Blocks:
 
Reported: 2016-06-01 07:57 UTC by Prashant Cholachagudda
Modified: 2017-01-13 11:48 UTC (History)
6 users (show)

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


Attachments
screenshot (55.67 KB, image/jpeg)
2016-06-01 07:57 UTC, Prashant Cholachagudda
Details
Logs (2.00 KB, application/zip)
2016-06-01 07:57 UTC, Prashant Cholachagudda
Details


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:
RESOLVED NORESPONSE

Description Prashant Cholachagudda 2016-06-01 07:57:05 UTC
Created attachment 16152 [details]
screenshot

In VS during the debug the breakpoints does not hit, and VS shows status as debugging when it's not
(see screenshot)

Xamarin VS logs attached

#Version Information

Microsoft Visual Studio Ultimate 2013
Version 12.0.40629.00 Update 5
Microsoft .NET Framework
Version 4.6.01055

Installed Version: Ultimate

Architecture and Modeling Tools 06181-004-0451022-02327
Microsoft Architecture and Modeling Tools

UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

LightSwitch for Visual Studio 2013 06181-004-0451022-02327
Microsoft LightSwitch for Visual Studio 2013

Team Explorer for Visual Studio 2013 06181-004-0451022-02327
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013 06181-004-0451022-02327
Microsoft Visual Basic 2013

Visual C# 2013 06181-004-0451022-02327
Microsoft Visual C# 2013

Visual C++ 2013 06181-004-0451022-02327
Microsoft Visual C++ 2013

Visual F# 2013 06181-004-0451022-02327
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker 06181-004-0451022-02327
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Windows Phone SDK 8.0 - ENU 06181-004-0451022-02327
Windows Phone SDK 8.0 - ENU

ASP.NET and Web Tools 2013 12.5.61123.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Microsoft Azure Web Apps
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Microsoft Azure

ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013 5.2.30612.0
For additional information, visit http://www.asp.net/

Azure App Service Tools v2.8.1 12.5.61123.0
Azure App Service Tools v2.8.1

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

Crystal Reports for .NET Framework
Crystal Reports for .NET Framework


DataFactoryProject 1.0
Microsoft Data Factory Package

Microsoft Advertising SDK for Windows Phone
Microsoft Advertising SDK for Windows Phone
Build

Microsoft Azure Data Factory Node Node 1.0
Azure Data Factory extension for Visual Studio Server Explorer.

Microsoft Azure HDInsight HQL Service 2.0.2900.0
Language service for Hive query

Microsoft Azure HDInsight Tools for Visual Studio 2.0.2900.0
An integrated development environment for HDInsight application development.

Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools

Microsoft Azure Tools 2.8
Microsoft Azure Tools for Microsoft Visual Studio 2013 - v2.8.40211.2

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

Office Developer Tools for Visual Studio 2013 ENU 12.0.40814
Microsoft Office Developer Tools for Visual Studio 2013 ENU

PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Release Management for Visual Studio Package 1.0
Release Management for Visual Studio

SQL Server Data Tools 12.0.50730.0
Microsoft SQL Server Data Tools

Windows Phone 8.1 SDK Integration 1.0
This package integrates the tools for the Windows Phone 8.1 SDK into the menus and controls of Visual Studio.

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

Xamarin 4.0.4.4 (a9c7826)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android 6.0.4.0 (ee215fc)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS 9.6.2.2 (be25da5)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 1 Prashant Cholachagudda 2016-06-01 07:57:43 UTC
Created attachment 16153 [details]
Logs
Comment 2 Brendan Zagaeski (Xamarin Team, assistant) 2016-06-01 17:39:36 UTC
The IDE log files are unfortunately pretty much empty in this case, so they don't provide any clues about what's going wrong.




We'll want the usual information to make this a solid bug report:



- Is this a problem you observed yourself on your own machine?  If not, have you been able to replicate the problem locally yourself based on the steps to replicate provided by the original customer?



- What are the approximate steps to reproduce? (Strongly recommended to include as per [1].)



- The status text at the bottom of the Visual Studio window does not always get updated after every state change.  In the attached screenshoot, it looks like the Visual Studio is no longer in "debug mode" (for example, the "start debugging" button is available).  That suggests to me that Visual Studio aborted the debug connection to the app on device.  If that is indeed what's happening, then the current description of the bug is a bit misleading because really there wouldn't be any way for VS to hit breakpoints if it's not even connecting to the app.  If the app is launching on the device, please collect and attach back the "adb logcat logs" [2].



- If the Visual Studio user interface itself is _hanging_, please collect and attach back the call stack of Visual Studio's main thread [3] after VS gets stuck.



- Does the problem affect all projects (including a new from template project)?  If not, it is highly recommended to minimize the full original project to the smallest sample that still shows the problem and then attach the minimized version (optionally privately) on the bug report.




See also: https://kb.xamarin.com/customer/portal/articles/1910343-when-and-how-should-i-file-a-bug-report-

## Links

[1] https://bugzilla.xamarin.com/page.cgi?id=bug-writing.html

[2] https://kb.xamarin.com/customer/portal/articles/1675684-how-to-collect-version-information-and-logs#adb-logcat

[3] https://kb.xamarin.com/customer/portal/articles/2232835-how-do-i-collect-the-call-stack-of-visual-studio-s-main-thread-
Comment 4 Joaquin Jares 2017-01-13 11:48:26 UTC
I will close this as RESOLVED NORESPONSE based on Brendan's suggestion. I have seen issues like this before, but they are all fixed now.