[Mono-list] Monodis not working on windows

Piers Haken piersh@friskit.com
Sun, 7 Apr 2002 20:44:51 -0700


Can someone tell me how to get monodis to work?

I'm trying to debug the output of mcs and I can't use ildasm because it
won't load mcs-generated EXEs.

When I run monodis I get an error dialog:
	(process:2320): **ERROR**: runtime invoke called on uninitialied
runtime

It looks like monodis is missing a call to
'mono_install_runtime_invoke()'

Here's a stack trace:
#0  mono_runtime_invoke (method=0xd4e2b8, obj=0x0, params=0x0) at
object.c:70
#1  0x0041929f in mono_runtime_class_init (klass=0x3fefe0) at
object.c:57
#2  0x004173de in mono_class_vtable (domain=0xbc0fc0, class=0x3fefe0) at
class.c:868
#3  0x00419713 in mono_object_new (domain=0xbc0fc0, klass=0x3fefe0) at
object.c:206
#4  0x00419b78 in mono_string_new_utf16 (domain=0xbc0fc0, text=0xd45298,
len=11) at object.c:372
#5  0x00419d18 in mono_string_new (domain=0xbc0fc0, text=0xd45270
"monodis.exe") at object.c:434
#6  0x00410714 in mono_init (filename=0x3f2d85
"c:\\bin\\cygwin\\usr\\local\\bin\\monodis.exe") at appdomain.c:339
#7  0x0040588d in main (argc=2, argv=0x3f2e10) at main.c:907

Piers.