[Mono-dev] Debugging Memory mono images

jonas echterhoff jonas at unity3d.com
Thu Jun 25 08:31:35 EDT 2009

So, I got the debugger working so far that we can debug Unity on the  
Mac. However, there's one issue I'm wondering about:

In Unity, we load mono images from memory, and not from a file on  
disk. So, we use mono_image_open_from_data_full(), instead of  
mono_image_open_full(). This gives me an error in the debugger,  
because it cannot find the symbol files:

Cannot load symbol file `data-0x1a670000'

We do use mono_debug_open_image_from_memory() to associate the symbol  
data with the image, but either that is ignored by the debugger, or it  
is too late, because it's after the mono_image_open_from_data_full()  

Any idea how this is best fixed?


More information about the Mono-devel-list mailing list