[Mono-list] Need help with mono debugger

tenspd137 dcday137 at gmail.com
Sat Mar 14 10:52:01 EDT 2009


I am using Monodevelop-1.9.2 (2.0-beta1).  I am running from within the IDE
just a helloWorld

namespace helloMono
{
	class MainClass
	{
		public static void Main(string[] args)
		{
			Console.WriteLine("Hello World!");
		}
	}
}

when I try to run the debugger

mdb helloMono.exe

and try 

(mdb) run

I get the following:
Starting program: helloMono.exe 
EXCEPTION: Mono.Debugger.TargetException: Unsupported `mono' executable:
/usr/bin/mono
  at Mono.Debugger.Backend.ProcessServant.Initialize
(Mono.Debugger.Backend.SingleSteppingEngine engine,
Mono.Debugger.Backend.Inferior inferior, Boolean is_exec) [0x0021c] in
/var/tmp/portage/dev-util/mono-debugger-2.2/work/mono-debugger-2.2/backend/ProcessServant.cs:391 
  at (wrapper remoting-invoke-with-check)
Mono.Debugger.Backend.ProcessServant:Initialize
(Mono.Debugger.Backend.SingleSteppingEngine,Mono.Debugger.Backend.Inferior,bool)....

and the message goes on.

This happens for anything I try (I was trying a more complex program - I'd
like to make a C# based XPS reader/writer.  I kept getting bad values in the
IDE, so I tried debugging in a terminal, with no luck)

I have a Gentoo system.  My mdb is also version 2.2  I read somewhere that
this error occurs when the debugger gets a version of something it isn't
expecting, but I am using pretty much the latest everything.  Also (this is
probably for the Monodevelop people) the debugger from within the IDE hangs
the IDE, I have to kill it in another terminal.

Can anyone give me any suggestions?  I'd like to be able to write something,
but if I can't debug, it is kind of an exercise in futility for me.

Thanks!


-- 
View this message in context: http://www.nabble.com/Need-help-with-mono-debugger-tp22509411p22509411.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list