Bug 57599 - Exception thrown at 0x745DB802 in MyProj.UWP.exe: Microsoft C++ exception
Summary: Exception thrown at 0x745DB802 in MyProj.UWP.exe: Microsoft C++ exception
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 2.3.4
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-06-19 17:55 UTC by Shimmy
Modified: 2017-06-19 23:10 UTC (History)
2 users (show)

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


Attachments
Screenshot with partial output of the C++ exception (232.19 KB, image/png)
2017-06-19 17:55 UTC, Shimmy
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 or GitHub 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 ANSWERED

Description Shimmy 2017-06-19 17:55:39 UTC
Created attachment 22978 [details]
Screenshot with partial output of the C++ exception

While running an app, any change in UI triggers this exception which slows down the app tremendously while in debug mode.

The exception isn't blocking, but is only printed out to console, there are a gazillion of these line-pairs for almost any UI change:

Exception thrown at 0x745DB802 in Hatzoloh.UWP.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
Exception thrown at 0x745DB802 in Hatzoloh.UWP.exe: Microsoft C++ exception: EEMessageException at memory location 0x07536484.

The 2nd line's memory location changes with each line-pair.

Also reported here: https://forums.xamarin.com/discussion/97944/exception-thrown-at-0x745db802-in-myproject-uwp-exe-microsoft-c-exception

Attached is a screenshot of what it looks like.
Comment 1 Paul DiPietro [MSFT] 2017-06-19 22:29:01 UTC
Are you able to reliably reproduce this to the point where you can share a project? I am setting this to needinfo until we can get more information for investigating.
Comment 2 Shimmy 2017-06-19 23:10:30 UTC
I managed to address the issue by settings the options under UWP Project Properties->Debug->Debugger Type to "Managed Only".