Bug 3459 - Exception when using catchpoint
Summary: Exception when using catchpoint
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2012-02-14 18:32 UTC by Mikayla Hutchinson [MSFT]
Modified: 2012-02-15 14:43 UTC (History)
1 user (show)

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

Description Mikayla Hutchinson [MSFT] 2012-02-14 18:32:22 UTC
When using a catchpoint for NullReferenceException:

ERROR [2012-02-14 18:29:46Z]: Error in debugger
System.InvalidOperationException: Request objects can only be modified while they are disabled.
  at Mono.Debugger.Soft.EventRequest.CheckDisabled () [0x00016] in /Users/michael/Mono/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/EventRequest.cs:135 
  at Mono.Debugger.Soft.EventRequest.set_Count (Int32 value) [0x00000] in /Users/michael/Mono/monodevelop/main/contrib/Mono.Debugger.Soft/Mono.Debugger.Soft/EventRequest.cs:62 
  at Mono.Debugging.Soft.SoftDebuggerSession.InsertCatchpoint (Mono.Debugging.Client.Catchpoint cp, Mono.Debugging.Soft.BreakInfo bi, Mono.Debugger.Soft.TypeMirror excType) [0x0001b] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs:881 
  at Mono.Debugging.Soft.SoftDebuggerSession.ResolvePendingCatchpoint (Mono.Debugging.Soft.BreakInfo bi, Mono.Debugger.Soft.TypeMirror type) [0x00000] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs:1724 
  at Mono.Debugging.Soft.SoftDebuggerSession.ResolveBreakpoints (Mono.Debugger.Soft.TypeMirror type) [0x0057c] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs:1630 
  at Mono.Debugging.Soft.SoftDebuggerSession.HandleEvent (Mono.Debugger.Soft.Event e) [0x00337] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs:1253 
  at Mono.Debugging.Soft.SoftDebuggerSession.HandleEventSet (Mono.Debugger.Soft.EventSet es) [0x0009c] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs:1118 
  at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler () [0x0002d] in /Users/michael/Mono/monodevelop/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs:1050
Comment 1 Jeffrey Stedfast 2012-02-15 14:43:22 UTC
fixed in git master