[MonoDevelop] MDB fails to start within MonoDevelop
Lluis Sanchez Gual
lluis at novell.com
Sat Oct 3 07:40:04 EDT 2009
That's already fixed in latest MD.
El dv 02 de 10 de 2009 a les 17:26 -0700, en/na BenPence va escriure:
> I am trying to get mdb-2.0 working in Monodevelop 2.0. It installs, but
> throws an exception when I try to use it.
>
> Setup (mono* built from source):
> -Centos 5.3 i386 (fresh install)
> -mono 2.4.2.2
> -monodevelop 2.0
> -mono-debugger-2.4.2.1
> -monodevelop-debugger-mdb-2.0 (note: when I tried to 'make' this package, I
> got the "./RuntimeInvokeManager" error. I applied the patch found
> http://www.centriment.com/2009/07/26/patch-for-monodevelop-2-0-debugger-for-mono-2-4-2-2/
> here , and then it installed.)
>
> mdb works fine from the command line (see test run below)
> When I try to debug a program in MD, it compiles successfully, then gives me
> the following error in a popup:
>
>
> > System.DllNotFoundException: monodebuggerserver
> >
> > Server stack trace:
> > at (wrapper managed-to-native)
> > Mono.Debugger.Backend.DebuggerMutex:mono_debugger_mutex_new ()
> > at Mono.Debugger.Backend.DebuggerMutex..ctor (System.String name)
> > [0x00007] in
> > /root/Desktop/mono_debugger/monodevelop_debugger/mono-debugger-2.4.2.1/backend/EventQueue.cs:98
> > at Mono.Debugger.ObjectCache.Initialize () [0x00000] in
> > /root/Desktop/mono_debugger/monodevelop_debugger/mono-debugger-2.4.2.1/classes/ObjectCache.cs:40
> > at Mono.Debugger.Backend.DebuggerServant..ctor (Mono.Debugger.Debugger
> > client, Mono.Debugger.ReportWriter writer,
> > Mono.Debugger.DebuggerConfiguration config) [0x0001a] in
> > /root/Desktop/mono_debugger/monodevelop_debugger/mono-debugger-2.4.2.1/backend/DebuggerServant.cs:33
> > at (wrapper remoting-invoke-with-check)
> > Mono.Debugger.Backend.DebuggerServant:.ctor
> > (Mono.Debugger.Debugger,Mono.Debugger.ReportWriter,Mono.Debugger.DebuggerConfiguration)
> > at Mono.Debugger.Debugger..ctor (Mono.Debugger.DebuggerConfiguration
> > config) [0x00012] in
> > /root/Desktop/mono_debugger/monodevelop_debugger/mono-debugger-2.4.2.1/classes/Debugger.cs:47
> > at (wrapper remoting-invoke-with-check) Mono.Debugger.Debugger:.ctor
> > (Mono.Debugger.DebuggerConfiguration)
> > at DebuggerServer.DebuggerServer.Run
> > (Mono.Debugging.Client.DebuggerStartInfo startInfo) [0x00023] in
> > /root/Desktop/monodevelop-debugger-mdb-2.0/Mono.Debugging.Server.Mdb/DebuggerServer.cs:94
> >
> > Exception rethrown at [0]:
> >
> > at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
> > (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg,
> > System.Exception& exc, System.Object[]& out_args) [0x00000]
> >
>
> Running hello.exe from mdb successfully:
>
> [root at localhost monodevelop_debugger]# mdb
> > Mono Debugger
> > (mdb) file /root/Projects/hworld/hworld/bin/Debug/hworld.exe
> > Executable file: /root/Projects/hworld/hworld/bin/Debug/hworld.exe.
> > (mdb) run
> > Starting program: /root/Projects/hworld/hworld/bin/Debug/hworld.exe
> > ** Message: WARNING: Running mdb as root may be a problem because setuid()
> > and
> > seteuid() do nothing.
> > See http://primates.ximian.com/~martin/blog/entry_150.html for details.
> > ** Message: WARNING: Running mdb as root may be a problem because setuid()
> > and
> > seteuid() do nothing.
> > See http://primates.ximian.com/~martin/blog/entry_150.html for details.
> > ** Message: WARNING: Running mdb as root may be a problem because setuid()
> > and
> > seteuid() do nothing.
> > See http://primates.ximian.com/~martin/blog/entry_150.html for details.
> > Thread @1 stopped at #0: 0xb79a02d6 in hworld.hello.Main()+0x6 at
> > /root/Projects/hworld/hworld/hello.cs:13.
> > 13 Console.Out.WriteLine("Hey");
> > (mdb) n
> > Hey
> > Thread @1 exited.
> > Process #1 exited.
> > (mdb) Target exited.
> > quit
> > [root at localhost monodevelop_debugger]#
> >
>
> Why can't monodevelop use mdb, when the command line version works fine?
>
> Thanks in advance
> -Ben
>
More information about the Monodevelop-list
mailing list