[MonoDevelop] Debugging a DLL on Windows

Michael Hutchinson m.j.hutchinson at gmail.com
Sun Sep 13 21:11:23 EDT 2009

On Fri, Sep 11, 2009 at 4:16 PM, Steve Baer <steve at mcneel.com> wrote:
> Hi,
> I'm in the early stages of embedding Mono in our C++ based product to load
> and execute "plug-in" DLLs written in C#. So far everything is working quite
> well on both Windows and OSX.... except when it comes to debugging. In
> Visual Studio when I debug a C# plug-in written for our application and
> using the .NET framework, I set the debugger to "Start external program" and
> my breakpoint is hit once my C# DLL is loaded and running.
> Is there any equivalent to this in MonoDevelop? I've tried Run->Debug
> Application... and get an exception dialog. I also tried Run->Attach to
> Process... but no processes are shown for attaching. Forgive my ignorance,
> I'm not sure if this is a bug or if I'm going about debugging the wrong way
> in MonoDevelop.

VS has a very advanced debugger that can debug native and managed code
at the same time. I don't know if MD's .NET debugger can handle this.
I'd guess that it can't handle attaching yet either, though I could be
wrong. MD-on-Windows isn't really my area.

If you're getting exceptions, pleas file bug reports.

Michael Hutchinson

More information about the Monodevelop-list mailing list