[MonoDevelop] Debug Monodevelop in Monodevelop - Breakpoints

Lluis Sanchez Gual slluis.devel at gmail.com
Tue Aug 16 02:45:31 EDT 2011


El 15/08/2011, a las 20:04, dave escribió:

> I'm debugging MD in MD, and I am wondering about the colours of the
> breakpoint indicator.
> For example:
> 
> If I set a breakpoint in  MonoDevelop.Startup.MonoDevelopMain.cs, the
> breakpoint-indicator icon colour is dark-red - meaning that this breakpoint
> can be hit.
> 
> But if I set a breakpoint in the file
> MonoDevelop.Ide.Gui.Dialogs.FeedbackDialog.cs, the breakpoint-colour is
> light-red. If open the Feedback-Dialog, the breakpoint is hit and all
> further breakpoints set in this file will be dark-red - but only in this
> file. If I set a Breakpoint in FileSelectorDialog.cs, the colour is again
> light-red.
> 
> In Visual Studio this light-red colour usually indicates that the
> debug-symbols have not yet been loaded. Furthermore it shows the reason in a
> tooltip.
> In Monodevelop you have no idea why the colour is light-red because there
> are no tooltips.
> 
> Questions / Suggestions:
> 
> - Why are all breakpoints initially light-red, but after the first hit all
> further breakpoints in the same file are dark-red from the beginning except
> other files in the same assembly.
> I could imagine that the debug-symbols will be loaded on demand - but I`d
> guess that debug-symbols are loaded per assembly - so it makes no sense that
> this behaviour is per class.

The breakpoint turns to dark red when the breakpoint is bound to a real application address, and this can only be done when the class is loaded.


> 
> - Display a tooltip with some information why the status is light-red when
> hovering the breakpoint. Maybe there are no debug-symbols available - but I
> think it makes sense to inform the user about this.

Yes, we can do that.


> 
> regards
> 
> 
> 
> --
> View this message in context: http://mono.1490590.n4.nabble.com/Debug-Monodevelop-in-Monodevelop-Breakpoints-tp3745265p3745265.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list