Bug 8212 - Debugger crashes when deling watches
Summary: Debugger crashes when deling watches
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: 3.0.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2012-11-04 20:43 UTC by Greg Ratner
Modified: 2012-11-04 22:33 UTC (History)
1 user (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 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 FIXED

Description Greg Ratner 2012-11-04 20:43:27 UTC
The debugger crashes when watches that are not in scope are deleted on 2nd delete.

Steps to reproduce:


1. Add variables to watch (3-5)
2. Hit a breakpoint
3. Delete watches that are not in current scope. Second delete causes a crash

System.NullReferenceException: Object reference not set to an instance of an object
  at MonoDevelop.Debugger.ObjectValueTreeView.GetFullExpression (TreeIter it) [0x0005d] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.4-branch/ea010826/source/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValueTreeView.cs:1252 
  at MonoDevelop.Debugger.ObjectValueTreeView.OnKeyPressEvent (Gdk.EventKey evnt) [0x00083] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-3.0.4-branch/ea010826/source/monodevelop/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger/ObjectValueTreeView.cs:1030 
  at Gtk.Widget.keypressevent_cb (IntPtr widget, IntPtr evnt) [0x00000] in <filename unknown>:0
Comment 1 Jeffrey Stedfast 2012-11-04 22:32:19 UTC
this has been fixed in git (probably won't make it in until 3.0.6)
Comment 2 Greg Ratner 2012-11-04 22:33:51 UTC
Got it, thanks. It's really pissing me off because crashes erase breakpoints. :)