[Gambas-user] My Raspberry Pi has arrived!

jm joem at ...2671...
Wed May 30 16:46:15 CEST 2012


On Wed, 2012-05-30 at 13:37 +0200, Benoît Minisini wrote:
> Le 30/05/2012 13:08, jm a écrit :
> > On Wed, 2012-05-30 at 10:55 +0200, Benoît Minisini wrote:
> >> Le 30/05/2012 10:48, Caveat a écrit :
> >>> Anyone need specific tests carried out, just let me know!
> >>>
> >>> OK, OK, I really just wanted to let everyone know it's here!
> >>>
> >>> Kind regards,
> >>> Caveat
> >>>
> >>
> >> These privileged people... :-)
> >>
> >> I was thinking: maybe I must find a way to let the IDE debug programs
> >> remotely. I mean: developing the program on the PC, click on the start
> >> button, and magically the program is run on the Raspberry and debugged
> >> remotely.
> >>
> >> But I don't know what could be the best solution for that. Give your
> >> ideas people...
> >
> >
> > I just received mine from Farnell. Wanted 5 got 1 on allocation :(
> > Still its here and getting Gambas and Ubuntu going on it is high on the
> > priority list.
> >
> > For remote operation of gambas IDE, I normally spend time on lab and
> > access the main desktop in office with ssh -X.
> >
> > ssh -X username at ...2855...
> >
> > If running Ubuntu I can do this:
> >
> > ssh -X username at ...2856... (saves having to remember ipaddress)
> >
> > I compile/run gambas IDE on office PC as needed from Lab PC with no loss
> > of speed or effectiveness. In effect ssh -X does the full remote
> > developer thing.
> >
> > So I imagine if Raspberry had going inside it X, gambas and ssh, and it
> > was connected by ethernet, then ssh -X will work, and the full testing
> > and debugging can be carried out from a remote PC with no code changes
> > to Gambas!
> >
> > Ahhh the wonders of Linux! :-)
> >
> >
> > [p.s. There are a couple of pointers to Gambas3 and Rasberry,
> >   but does anyone have some knowledge of Ubuntu + Gambas3 working and
> >   available as downloadable image file for SDCard?]
> >
> 
> I'd like to just do the debugging remotely. Maybe ssh is the better 
> solution.
> 
> So the user would have to enter a login, a password and an host/ip in 
> the IDE, the IDE will connect to the RPi that way, and will be able to 
> run the project in debugging mode.
> 
> Now I must find a way to let the project in debugging mode communicate 
> with the IDE on the PC. It should be a matter of having a socket go 
> through the ssh connection.
> 
> A bit like 'ssh -X' I imagine, but I don't know exactly how it should be 
> done.
> 
> If nobody tells me, I will ask google!


Verbosity has made things unclear! :)

Sorry Benoît, unless I mis-understood something, I am sure ssh -X login
will be as good as IDE login without the overheads.

I do this all the time with ssh -X so I am a fan of this method of
remote debugging. Please try logging into a remote PC with ssh -X
username at ...2857..., then run gambas IDE by typing gambas3. Now open
gambas3 on local PC to run both IDEs side by side. Start using both
IDEs, side by side, and see if you can tell which IDE is local and which
one remote!! Its not possible to tell the difference for most things
except perhaps games and video because screen update is through network.

Although the remote gambas is displayed on local desktop, its still
physically running on the remote machine. As such if you had
say a serial port receiving data on the remote machine,
then you can view that data coming in through the gambas serial port
example program. Some experiments run for hours in the lab, so when
I'm in the office, I do ssh -X into the lab PC and run the serial
port example program and it shows what state the experiment has reached.

Best regards.


______________________________________________________________________________
This message has been checked for viruses and spam by Corpex using
the ArmourPlate Anti Virus and Anti Spam Scanning Service.
To find out more and see our email archiving service see
http://www.armourplate.com or call Corpex on UK 0845 050 1898.




More information about the User mailing list