Bug 2173 - CRASH in MONOTOOLS.ENGINE - then crashes app
Summary: CRASH in MONOTOOLS.ENGINE - then crashes app
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-11-23 14:32 UTC by Shawn Lewis
Modified: 2016-08-03 15:25 UTC (History)
6 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 FIXED

Description Shawn Lewis 2011-11-23 14:32:58 UTC
Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
  at System.Collections.Generic.Dictionary'2.get_Item(TKey key)
   at
  MonoTools.Engine.MonoToolsSession.OnUnhandledException(Object sender, TargetEventArgs args)
   at
  Mono.Debugging.Client.DebuggerSession.OnTargetEvent(TargetEventArgs args)
   at
  Mono.Debugging.Soft.SoftDebuggerSession.HandleBreakEventSet(Event[] es, Boolean, dequeuing)
   at
  Mono.Debugging.Soft.SoftDebuggerSession.HandleEventSet(EventSet es)
   at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler()


This is switching between tabs . nothing i can do trap it, nothing...

This is a HUGE Show stopper.
Comment 1 Jonathan Pobst 2011-11-24 01:19:14 UTC
This should be fixed for 2.0.  I don't have a test case, so I can't be sure, but I guarded against this happening.