[Mono-dev] Debugging Memory mono images
martin at ximian.com
Sat Jun 27 12:58:14 EDT 2009
On Thu, 2009-06-25 at 14:31 +0200, jonas echterhoff wrote:
> 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?
If I remember correctly, this mono_debug_open_image_from_memory()
function was requested by someone who wanted to embed Mono a long time
ago, but I don't remember ever getting any feedback about it or anyone
actually using it.
We should now, that we have an actual customer for it, look at properly
testing fixing the implementation.
More information about the Mono-devel-list