[Mono-list] Building mono debugger

Helge Lenuweit helge@lenuweit.net
Thu, 12 Aug 2004 18:21:16 +0000


Thanks Jacek,

I have found the patch you mentioned and managed to compile the 
debugger. However, I may simply not be clever enough to make use of it. 
In my first naive attempt, I located "mdb.exe" and started it with my 
exe as a parameter. Here are the first lines of the output:

Mono Debugger
EXCEPTION: Mono.Debugger.SymbolTableException: 
`MONO_DEBUGGER__debugger_info' has version 43, but expected 41.

Again, for me to continue the adventure, I appreciate any hint, how-to 
or other help. In the meantime, I will stick with lots of 
Console.WriteLine()s for debugging :-)

Regards,
Helge

Jacek Blaszczynski wrote:

>Hi!
>
>There is a patch available in mono-list or mono-develop-list  in July posts
>- I do not remember who has posted it but subject contained word debugger.
>
>cheers
>
>Jacek
>
>-----Original Message-----
>From: mono-list-admin@lists.ximian.com
>[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Helge Lenuweit
>Sent: Thursday, August 12, 2004 12:04 PM
>To: mono-List (E-mail)
>Subject: [Mono-list] Building mono debugger
>
>Hi folks,
>
>I'm running mono 1.01 (Red-Carpet install) on a Suse 9.1 machine and try to
>build release 0.9 of the mono debugger. Previous (beta) releases of the mono
>runtime itself compiled fine on that machine, so compiler/environment
>prerequisites should be fine (I guess, at least :-).
>
>Now that I run make, it says:
>wrapper.c: In function `debugger_class_get_static_field_data':
>wrapper.c:121: error: dereferencing pointer to incomplete type
>wrapper.c: In function `debugger_event_handler':
>wrapper.c:135: warning: enumeration value
>`MONO_DEBUGGER_EVENT_UNHANDLED_EXCEPTION' not handled in switch
>wrapper.c: At top level:
>wrapper.c:139: warning: initialization from incompatible pointer type
>wrapper.c: In function `mono_debugger_main':
>wrapper.c:226: error: dereferencing pointer to incomplete type
>wrapper.c:226: error: dereferencing pointer to incomplete type
>make[2]: *** [wrapper.o] Error 1
>make[2]: Leaving directory `/root/mono-debugger-0.9/wrapper'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/root/mono-debugger-0.9'
>make: *** [all] Error 2
>
>I have no clue at this point - and appreciate any help.
>Thanks,
>Helge
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>  
>