[Mono-dev] debug embedded mono

Lucas Meijer lucas at lucasmeijer.com
Wed Aug 25 17:14:53 EDT 2010

  On 8/25/10 10:59 PM, Michael Hutchinson wrote:
> >  I tried to create a dummy start up C sharp project and call my C sharp code from there. The mono debugger works for the C sharp code, but it does not find the C++ functions that are called from within C sharp. MethodNotImplemented exception is thrown.
> >
> >  The mono debugger does not work on C++ and regular debugger cannot access to the Mono code in C sharp.
> >
> >  So, any information on how to do it?
I often just use MonoDevelop to debug the c# parts, and simultanously 
attach xcode/visualstudio/gdb to the process to debug the c++ part.

You can also use XDebug ( http://www.mono-project.com/Debugging ), if 
you use gdb on linux, to make gdb smarter about the c# parts. it won't be
as good as the monodevelop softdebugger, but at least you get to see the 
names of the managed methods on the stack.

Bye, Lucas

More information about the Mono-devel-list mailing list