[Mono-list] remote debugging on ARM

Ian Norton ian.norton-badrul at thales-esecurity.com
Tue Jan 15 16:15:56 UTC 2013

On Tue, Jan 15, 2013 at 02:51:06PM +0000, mickeyf wrote:
> I do have server=y only on the target, not on monodevelop.
> I removed the spaces after the commas on my command line, and that did get
> me a bit further. 
> Now I get "debugger-agent: Unable to listen on" before
> exiting back to the command line. 
> is the IP address of the monodevelop pc. In the 'Launch soft
> Debugger' input window I have set the IP of the target, and port 10000.
> Anything else I need there?

server=y means "the debugger agent will listen as a network server"

So, your options are telling the debugee to listen on for
incoming connections.

On the arm end I would use "server=y,address="

The program will start and wait for the debugger to connect to it.

On monodevelop, I'd put the IP of your ARM system into Address box and 10000
into the Port box and click Connect rather than Listen.
> I should have mentioned that I connect to the target using ssh, in case this
> creates additional complications. Should I be prompted for a password at
> some point, or is this a required argument somewhere?

The "Command" box in monodevelop is for this, I've never used it. Personally, I
would use ssh port forwarding like so:

$ ssh inb at armsystem -L 10000: 

And just leave that running in a terminal.

The above means connections to localhost (-L) on your desktop get tunneled
through the ssh connection to as seen from the other system.

If you have no firewall on your ARM system and can ping it then there should be
no need to tunnel the debugger connection.

Best Regards


> thanks
> --
> View this message in context: http://mono.1490590.n4.nabble.com/remote-debugging-on-ARM-tp4658125p4658134.html
> Sent from the Mono - General mailing list archive at Nabble.com.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

More information about the Mono-list mailing list