[Mono-list] remote debugging on ARM
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 192.168.20.4:10000" before
> exiting back to the command line.
> 192.168.20.4 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 192.168.20.4:10000 for
On the arm end I would use "server=y,address=0.0.0.0:10000"
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:127.0.0.1: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 127.0.0.1:10000 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.
> 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
More information about the Mono-list