[Mono-list] Debugging mono dll loaded by Unity3d

and192 andrew.rushby at googlemail.com
Fri Jul 16 12:04:56 EDT 2010

Hi there,

I have a problem trying to understand how to debug a library I'm writing in
MonoDevelop. This library is being referenced from a Unity3d project.

I have been pointing the MonoDevelop debugger at the built Unity3d exe and
hoping to be able to 'attach' along the lines of the MSVisual studio
debugger. However the debugger loads in MonoDevelop and encounters an
   System.Runtime.InteropServices.COMException (0x80131700): Failed to load
the runtime. at

I suspect this is because Unity3d is not a mono executable and the Mono
debugger cannot detect the runtime version.

I appreciate there may not be an easy way to do this, but before I give up,
does anyone have any suggestions, other than writing to debug log files etc,
on how I can use a debugger to step through my mono code?

Many thanks in advance,

View this message in context: http://mono.1490590.n4.nabble.com/Debugging-mono-dll-loaded-by-Unity3d-tp2291591p2291591.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list