[MonoDevelop] Remote debugging support?

Ian Norton ian.norton-badrul at thales-esecurity.com
Tue Aug 2 01:22:37 EDT 2011

On Fri, Jun 10, 2011 at 10:10:00AM +0100, Michael Hutchinson wrote:
> On Tue, May 31, 2011 at 9:05 PM, Martin Pilot <mpilot at matrox.com> wrote:
> > Sorry if this is known info, but I’ve been spending way too much time now
> > looking for this to no avail…
> >
> > Is there a way to perform remote debugging with MonoDevelop? Just to be
> > clear, by this I mean executing in debug mode an EXE on a remote system.
> >
> > By digging in the MonoDevelop.Debugger.Soft sources, I found a way to enable
> > CustomSoftDebuggerEngine, which has a proto UI allowing me to specify the IP
> > address of the target machine by defining MONODEVELOP_SDB_TEST as an
> > environment variable. All my efforts to get this to work failed miserably,
> > with the debugger being stuck showing “Waiting for debugger to connect”.
> >
> > Any info on this? What server should run on the debuggee side? Another
> > instance of MonoDevelop? Monotools-server?
> Start Mono on the target with the commandline arguments
> --debug --debugger-agent=transport=dt_socket,address=${IP}:{${Port}
> and the debugger agent inside the runtime will connect out to the IDE
> listening on IP:port.
> The CustomSoftDebuggerSession GUI has a field for launching a process
> that you could use to kick this off over ssh, and it can automatically
> substitute the variables AgentArgs, IP, Port, Console, e.g.
> --debugger-agent=${AgentArgs}

Hi Mike,

I've been trying to get the same things working and havn't had any luck at all.
Neither with server=y or not on the debugee.

I've even tried running this on a single host and using addresses, MD
simply stays saying 'waiting for debugger'
This is what I'm trying:

Port: 10000

mono --debug \
--debugger-agent=transport=dt_socket,address= \

I thought I'd have more luck if I ran the debuggee as a server but can't get
far with that either, not sure what 'output port' means in the MD dialog.

Hope you can help.

Best Regards


> --
> Michael Hutchinson
> http://mjhutchinson.com
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list

More information about the Monodevelop-list mailing list