[Mono-list] Looking for Help on Debugging Mono Embedded on Windows

Robert Jordan robertj at gmx.net
Wed Aug 24 16:29:59 EDT 2011


Hi,

On 24.08.2011 19:22, Rodney Foley wrote:
> We are embedding mono within a Visual C++ app developed with Visual Studio,
> and have the prototype working. However we not able to debug into the Mono
> portion of the code. We have tried mixed mode debugging in Visual Studio but
> have not had any luck with this yet.
>
> We tried using MonoDevelop and the Mono Soft Debugger but it is expecting a
> .Net binary to debug not a C++ host application.
>
> Any help on getting us debugging Mono Embedded on Windows would be greatly
> appreciated.

MonoDevelop should be able to connect to a running Mono instance
via TCP/IP. Please ask on MonoDevelop's lists about this.

On your side, you must turn on the debugger with
mono_jit_parse_options(1, "--debugger-agent=...")

The agent's options are documented on Mono's man page.

Robert



More information about the Mono-list mailing list