[MonoDevelop] MD 2.0 Beta 2 (1.9.3) Debugger with source lines?

JackBak jbakeman at indra.com
Mon Mar 16 11:04:28 EDT 2009


Ok, this is still an issue for me so based on another thread's comment by
Michael Hutchinson I created a small GUI app with a textbox, an OK and
Cancel button. See below,

using System;
using System.Diagnostics;
using Gtk;

namespace Test01
{
	public partial class MainWindow: Gtk.Window
	{	
		public MainWindow (): base (Gtk.WindowType.Toplevel)
		{
			Build ();
		}
	
		protected void OnDeleteEvent (object sender, DeleteEventArgs a)
		{
			Application.Quit ();
			a.RetVal = true;
		}

		protected virtual void OnButtonOKClicked (object sender, System.EventArgs
e)
		{
			Console.WriteLine("Tell me on the OK click");
		}
	}

}	

I fire up MD from a console, open this project, then put the breakpoint on
the Console.WriteLine line run it in Debug and MD breaks at a disassembly
window not the source line window as I said previously and the console
shows,

## DebuggerServer started
>> OnInitialized
<< OnInitialized
Server OnTargetEvent: TargetStopped stopped:True data:0 internal:False
queue:0 thread:Thread @1 running:True
GetBacktrace native time: 53.014 ms n:3
OnTargetEvent, type - TargetStopped
pp GET LINES: -150 150 0
pp FILLDOWN: 151
pp FILLUP: 150
pp GET LINES: -166 -151 285
WARNING [2009-03-16 08:53:32Z]: Gtk-Warning: gtk_widget_size_allocate():
attempt to allocate widget with width -1 and height 17
Stack trace: 
   at Gtk.Application.Run()
   at MonoDevelop.Ide.Gui.IdeApp.Run()
   at MonoDevelop.Ide.Gui.IdeStartup.Run(System.String[] args)
   at MonoDevelop.Startup.SharpDevelopMain.Main(System.String[] args)


The Stack Trace Tab in MD shows same as I mentioned before (slight changes
to the Hex addresses as expected ... now it's the test project).

Any ideas?


-- 
View this message in context: http://www.nabble.com/MD-2.0-Beta-2-%281.9.3%29-Debugger-with-source-lines--tp22437109p22540156.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.



More information about the Monodevelop-list mailing list