Bug 26087 - [VS Enhancement] Include detailed exception information in Visual Studio Exception window
Summary: [VS Enhancement] Include detailed exception information in Visual Studio Exce...
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 3.9
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Joaquin Jares
URL:
: 23566 ()
Depends on:
Blocks:
 
Reported: 2015-01-15 20:42 UTC by Kent Green [MSFT]
Modified: 2016-05-18 14:44 UTC (History)
6 users (show)

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


Attachments
Test case (276.50 KB, application/zip)
2015-06-12 17:04 UTC, Brendan Zagaeski (Xamarin Team, assistant)
Details
Xamarin exception window (14.33 KB, image/png)
2015-06-12 17:05 UTC, Brendan Zagaeski (Xamarin Team, assistant)
Details
Windows Phone exception window (52.53 KB, image/png)
2015-06-12 17:06 UTC, Brendan Zagaeski (Xamarin Team, assistant)
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 FIXED

Description Kent Green [MSFT] 2015-01-15 20:42:50 UTC
---Overview---
From this desk case:
https://xamarin.desk.com/agent/case/117101

Customer reported that the exception window in Visual Studio is blank when an exception is thrown, not giving any details on what the exception is: http://screencast.com/t/elfRni8MpEw

---Workaround---
The Call Stack and Locals windows should work in the current version even though the exception window itself isn't as detailed as normal exceptions in Desktop apps. 

---Build Info---
Microsoft Visual Studio Professional 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Professional

LightSwitch for Visual Studio 2013   06177-004-0447006-02429
Microsoft LightSwitch for Visual Studio 2013

Team Explorer for Visual Studio 2013   06177-004-0447006-02429
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013   06177-004-0447006-02429
Microsoft Visual Basic 2013

Visual C# 2013   06177-004-0447006-02429
Microsoft Visual C# 2013

Visual C++ 2013   06177-004-0447006-02429
Microsoft Visual C++ 2013

Visual F# 2013   06177-004-0447006-02429
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker   06177-004-0447006-02429
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   06177-004-0447006-02429
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools   12.3.50717.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 Websites
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.20703.0
For additional information, visit http://www.asp.net/

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

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

Microsoft Azure Mobile Services Tools   1.2
Microsoft Azure Mobile Services Tools

NuGet Package Manager   2.8.50926.663
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.30626
Microsoft Office Developer Tools for Visual Studio 2013 ENU

PowerShell Tools   1.2
Provides file classification services using PowerShell

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

SQL Server Data Tools   12.0.30919.1
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   3.9.236.0 (d6a2cae)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   4.20.0.34 (49a04b966feb40dfdba49d57ba16249b66d606a6)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   8.6.0.0 (eb24bdcf5cba2c12b673a07e0a8cce368b9563b3)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified
Comment 1 Brendan Zagaeski (Xamarin Team, assistant) 2015-06-12 17:04:15 UTC
Created attachment 11592 [details]
Test case

## Regression status: not a regression




## Steps to reproduce

1. Run the attached test case on Android or iOS in Visual Studio.

2. Tap the "Button" button.




## Results

When Visual Studio breaks on the unhandled exception, it shows a free-floating exception window that does not include a list of "Actions."


See the attached "Xamarin exception window."




## Desired results

(For example if you follow the steps to reproduce but instead use the Windows Phone project from the test case)

When Visual Studio breaks on the unhandled exception, it shows a different kind of exception "sub-window" that is embedded in the existing Visual Studio window. The bottom of this exception window includes a list of helpful "Actions."


See the attached "Windows Phone exception window."
Comment 2 Brendan Zagaeski (Xamarin Team, assistant) 2015-06-12 17:05:45 UTC
Created attachment 11593 [details]
Xamarin exception window
Comment 3 Brendan Zagaeski (Xamarin Team, assistant) 2015-06-12 17:06:07 UTC
Created attachment 11594 [details]
Windows Phone exception window
Comment 4 Brendan Zagaeski (Xamarin Team, assistant) 2015-06-12 17:09:21 UTC
*** Bug 23566 has been marked as a duplicate of this bug. ***
Comment 5 Joaquin Jares 2016-05-18 14:44:30 UTC
I have verified and found this has been fixed. It used to be a timing issue (the exception showing before the message can be fetched) that's not present anymore.