[MonoDevelop] Embedded Mono Debugging / Custom Addin

Jeff Ward jeff at fuzzybinary.com
Fri Feb 3 21:06:12 UTC 2012


I actually found these.  It appears if you don't have an executable project
loaded (e.g., in my case we're only loading Mono .dlls), you have to supply
one of your .dlls to be the "main" dll and have an executable task.

To do this, right click on your project->Options->CustomCommands, add your
built executable as the executable for this dll.  Then everything seems to

I'm having one other problem, which is that when I start my executable
using Launch Soft Debugger (with either Listen or Connect I get a fatal
error (System.InvalidOperationException: StandardOut has not been
redirected or the process hasn't started yet) followed immediately by
MonoDevelop crashing.



On Fri, Feb 3, 2012 at 3:26 PM, Michael Hutchinson <m.j.hutchinson at gmail.com
> wrote:

> On 3 February 2012 12:50, Jeff Ward <jeff at fuzzybinary.com> wrote:
> > Sorry to revive this thread, but I've had no luck getting the "Run With
> > Custom Soft Debugger" menu to appear (I gave up for a bit).  Is there
> > *anything* I have to define in windows other than MONODEVELOP_SDB_TEST
> for
> > this to appear in 2.8.6?
> >
> > I've tried the following:
> >
> > Setting it as a user and as a system environment variable though the
> > Environment Variable UI
> > Setting it in the command line with set MONODEVELOP_SDB_TEST=1
> These should work - it needs to be set in the current environment from
> which you're running MD.
> > Is there some other, better way to set this up?  Do I have to have a
> > MonoDevelop project loaded? for the option to appear?  I've loaded at
> Visual
> > studio solution, but without any luck.
> You do need a solution open and the startup project needs to be a
> C#/.NET executable project, then the command appears in the Run->Run
> with.. menu.
> --
> Michael Hutchinson
> http://mjhutchinson.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120203/64229dac/attachment.html>

More information about the Monodevelop-list mailing list