Bug 29859 - Visual Studio breaks on User Handled Exceptions even if they are unchecked/disabled.
Summary: Visual Studio breaks on User Handled Exceptions even if they are unchecked/di...
Status: RESOLVED DUPLICATE of bug 29630
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 3.11 (C5)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-05-07 15:30 UTC by Jon Douglas [MSFT]
Modified: 2015-05-07 15:50 UTC (History)
3 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:
RESOLVED DUPLICATE of bug 29630

Description Jon Douglas [MSFT] 2015-05-07 15:30:52 UTC
*Description

Visual Studio currently will break on any user handled exceptions even though they are specifically disabled in the Debug -> Exceptions... menu.

The expected behavior is that Visual Studio will only break when specified within the Debug -> Exceptions... menu. However VS currently will break on these items regardless which can hinder development and debugging efforts. Xamarin Studio currently implements this in the Run -> View Breakpoints -> New Exception Catchpoint.

*Reproduction

1) File -> New Android Project or File -> New iOS Project

2) Add any Exception you'd like in the OnCreate() or FinishedLaunching() methods(Android/iOS Respectfully):

            try
            {
                throw new OverflowException();
            }
            catch (Exception)
            {
                
                throw;
            }

3) Disable CLR exceptions via Debug -> Exceptions(Uncheck the User-handled side of Common Language Runtime Exceptions)

4) Run the application

5) Notice that the exception is still being stopped upon

*Version Information

Microsoft Visual Studio Premium 2012
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.50938

Installed Version: Premium

LightSwitch for Visual Studio 2012 04941-004-0043007-02982
Microsoft LightSwitch for Visual Studio 2012

Office Developer Tools 04941-004-0043007-02982
Microsoft Office Developer Tools

Team Explorer for Visual Studio 2012 04941-004-0043007-02982
Microsoft Team Explorer for Visual Studio 2012

Visual Basic 2012 04941-004-0043007-02982
Microsoft Visual Basic 2012

Visual C# 2012 04941-004-0043007-02982
Microsoft Visual C# 2012

Visual C++ 2012 04941-004-0043007-02982
Microsoft Visual C++ 2012

Visual F# 2012 04941-004-0043007-02982
Microsoft Visual F# 2012

Visual Studio 2012 Code Analysis Spell Checker 04941-004-0043007-02982
Microsoft® Visual Studio® 2012 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.

Visual Studio 2012 SharePoint Developer Tools 04941-004-0043007-02982
Microsoft Visual Studio 2012 SharePoint Developer Tools

ASP.NET and Web Tools 2012.3.41009
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 Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

JetBrains ReSharper 7.1 Full Edition build 7.1.3000.2259 on 2013-04-10T17:34:56
JetBrains ReSharper 7.1 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2015 JetBrains, Inc.

JetBrains TeamCity Addin 8.1 build 8.1.58.476 on 2014-07-17T08:45:34
JetBrains TeamCity Addin 8.1 package for Microsoft Visual Studio. For more information about TeamCity Addin 8.1, visit http://www.jetbrains.com/teamcity/. Copyright © 2000–2015 JetBrains, Inc.

Microsoft Team Foundation Server 2012 Power Tools 3.0
Power Tools that extend the Team Foundation Server integration with Visual Studio.

Microsoft Visual Studio Process Editor 1.0
Process Editor for Microsoft Visual Studio Team Foundation Server

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

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

SQL Server Data Tools 11.1.20627.00
Microsoft SQL Server Data Tools

TechTalk SpecFlow 1.9.2
TechTalk SpecFlow - Pragmatic BDD for .NET, http://www.specflow.org
Copyright © 2009–2010 TechTalk

Windows Installer XML Toolset 3.8.1128.0
Windows Installer XML Toolset version 3.8.1128.0
Copyright (c) Outercurve Foundation. All rights reserved.

Xamarin 3.11.445.0 (5061f92)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android 5.1.0.115 (d23da369e436488f38c8ab8fe8a9ae7d9ea5256b)
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.0.0 (7741cc495ab0baf04ff0405d0604bc27f0ecae2e)
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 1 Jon Douglas [MSFT] 2015-05-07 15:50:10 UTC

*** This bug has been marked as a duplicate of bug 29630 ***