[Mono-dev] MonoDebugger Compile Error

Johan Hernandez thepumpkin1979 at gmail.com
Sun May 6 11:56:39 EDT 2007


hi. I'm trying to run MonoDebugger and i got this error:

$ mdb

Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for
Mono.Debugger.Frontend.CommandLineInterpreter --->
System.DllNotFoundException: monodebuggerserver
  at (wrapper managed-to-native)
Mono.Debugger.Frontend.CommandLineInterpreter:mono_debugger_server_static_init ()
  at Mono.Debugger.Frontend.CommandLineInterpreter..cctor () [0x00000]
--- End of inner exception stack trace ---

I did this:

1) download the code from svn
 svn co svn://anonsvn.mono-project.com/source/trunk/debugger
monodebugger

2) Compile it:
 ./autogen.sh && make

3) Because i get some errors compiling MonoDebugger.Test with references
to nunit.framework, i modify Makefile.in, removed "-r:nunit.framework"
and added "-pkg:nunit".
Then i compile again and it works, my mdb and mdb.exe files are
compiled.

4) Install monodebugger(i'm un ubuntu 7.07 and mono 1.2.3.1)
	sudo make install

5) Run mdb:
	mdb

Then i get some errors for assemblies dependencies. I have added the
following assemblies to the gac manually:

sudo gacutil -i Mono.Debugger.Test.dll
sudo gacutil -i Mono.Debugger.Cecil.dll
sudo gacutil -i Mono.Debugger.Frontend.dll
sudo gacutil -i Mono.Debugger.Debugger.dll

and then i got this:

Unhandled Exception: System.TypeInitializationException: An exception
was thrown by the type initializer for
Mono.Debugger.Frontend.CommandLineInterpreter --->
System.DllNotFoundException: monodebuggerserver
  at (wrapper managed-to-native)
Mono.Debugger.Frontend.CommandLineInterpreter:mono_debugger_server_static_init ()
  at Mono.Debugger.Frontend.CommandLineInterpreter..cctor () [0x00000]
--- End of inner exception stack trace ---

What should I do?

-- 
Johan Hernandez
http://johansoft@blogspot.com




More information about the Mono-devel-list mailing list