GNAT Studio with remote development?

I really want to use Gnat Studio again, but my biggest issue right now is that I haven’t found a replacement for their sunsetted Remote Development feature.

I code on a mac but much of my development and building is done over SSH on a linux box, and VSCode’s Remote Developer plugin is the only way I’ve found to do that. I could probably mount my <hostname>:~/Projects folder but I’m not sure if I’d be able to build it within gps and it probably won’t “see” the local toolchain stuff in other directories on the remote server (I use alire).

Anyone doing anything similar?

What is wrong with X11?

Remote compilation is a bad idea, because shares are slow and usually fail on timestamping. With GNAT it is totally unnecessary anyway. I compile for a dozen targets, never remotely, I never debug remotely, there is no need, For packaging I use rsync and package building scripts.

Hi !

We use GNATremote : GitHub - sowebio/adel-gnatremote: Gnatstudio remote utility. A CD utility with few lines and great results, thanks to v22 power.

More info in this doc : GitHub - sowebio/adel-doc: Ada Development Environment on Linux based on the latest GNAT, GNATStudio and Alire

4 Likes

I’ve tried gnat studios feature. usb over ip and gdbserver. They all worked but were excrutiatingly slow from Canada to the UK but might work okay in closer proximity. Linux usb over ip was buggy.

A better option is perhaps print statements. J-links real time transfer is great for time sensitive issues even locally. I prefer it to gdb generally now with the bonus that it means production logs are more likely to be useful.