Debugging over the internet

Topics for the Eclipse Environment
Post Reply
v8dave
Posts: 333
Joined: Thu Dec 31, 2009 8:31 pm

Debugging over the internet

Post by v8dave »

Hi all,

Is it possible to debug a netburner over the internet?

If this can be done, what ports do we need redirected? I have tried 2159 but it doesn't seem to work.

I have a unit in the field that I need to do some basic debugging to see what is happening on the serial ports into it.

Cheers
Dave...
Ridgeglider
Posts: 513
Joined: Sat Apr 26, 2008 7:14 am

Re: Debugging over the internet

Post by Ridgeglider »

V8:

I often use some of the code in the C:\nburn\examples\serial\DualTcpToSerial and Tcp2Serial examples to alow redirection of stdio back and forth from serial IO to telnet. Basicaly if there's a telnet connection present, that's where stdio goes; when it closes or goes inactive, stdio goes back to serial COMx. You can also set it up to close an existing connectiona and to accept and switch to a new telnet connection if one appears. Comes in pretty handy occasionally.

There is also the UDP syslog stuff (described in 10.17 of the NB Runtime Library Reference), although neither would allow you to debug something that's already in the field unless it's coded that way.
Post Reply