[Mono-dev] Mono Debugger and Mono 2.4

jonas echterhoff jonas at unity3d.com
Fri May 8 12:07:48 EDT 2009


If it is, the error message you should see would be:

Unsupported `mono' executable: [executable path]

jonas

On May 8, 2009, at 5:18 PM, Toshio Kuratomi wrote:

> jonas echterhoff wrote:
>> Following up on my own post here, I have managed to make mdb work  
>> with
>> Unity (to some degree). It was mostly as easy as Miguel said, just
>> instruct Unity to use mono the same was as if "mono --inside_mdb" had
>> been called.
>>
>> Reading the MONO_DEBUGGER__debugger_info struct still is a problem,
>> though. I was wrong in my last post that mdb won't try to read it for
>> native applications. Rather, the problem is, that since we are  
>> linking
>> against mono dynamically, the debugger will first interrupt when
>> loading Unity, before the linker has resolved the external dynamic
>> symbols, thus it won't get the correct address for the struct.
>>
> Is this also the reason that a mono linked dynamically against
> libmono.so on linux causes problems for mdb?  If so, fixing it for all
> platforms when linked dynamically would help us in Fedora.
>
> /me wades back into waters where he actually understands the details
>
> -Toshio
>



More information about the Mono-devel-list mailing list