[Mono-dev] connecting a debugger to an embedded mono
Michael Hutchinson
m.j.hutchinson at gmail.com
Tue Feb 16 23:04:56 EST 2010
On Thu, Feb 11, 2010 at 12:04 PM, Matt Grasse <matt.grasse at gmail.com> wrote:
> Hi,
> I'm embedding mono into a C++ application. Getting mono embedded and
> loading assemblies has gone pretty smoothly, and now I would like to connect
> the managed code to a debugger. If it matters, I'm doing my development on
> Windows, but will eventually be running on Linux as well.
> I've played around with mono_debug_init(), but haven't had any success and
> cannot find detailed docs or a simple example. I'm not even certain that
> mono_debug_init() is the right place to start. Can someone tell me the
> steps to get the runtime talking to a debugger or point me at some docs or
> an example?
You might want to to look at how Moonlight does this:
http://anonsvn.mono-project.com/viewvc/trunk/moon/src/deployment.cpp?r1=145625&r2=145655
Regarding the "other end" - getting MonoDevelop to listen for the
debuggee to connect - you may find this thread useful:
http://lists.ximian.com/pipermail/monodevelop-list/2009-December/010856.html
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Mono-devel-list
mailing list