[MonoDevelop] Remote debugging support?

Michael Hutchinson m.j.hutchinson at gmail.com
Fri Jun 10 05:10:00 EDT 2011

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.

Michael Hutchinson

More information about the Monodevelop-list mailing list