---
It will eventually be added and be available by default.
But I made the latest changes (async) in a bit of a rush. I had no time to test them, and I have not added any error handling yet.
Once that is done, this will be the added.
Good news Martin.
For the moment thanks to your help at least i can run remotely the application and more,..... i can stop it by a breakpoint, inspect variables ...
One very important and missing detail is that if we need debug remotely other platforms then we need to compile the local gdb sources indicating the target platform. Remember that in this case i am debugging arm-linux hardware from x64-linux hardware, so there are needed to solve other issues that are nothing to see with Lazarus.
We need to debug some things as you told me. There is some strange warning that i can not understand, and ... there are confused debugger options for me that i think are undocumented like "append-gdb-to-openssh-opt", or "consoletty"..... really i think that i need understand almost all options.
For the moment if i want to work with remote debugging i need set to true "append-gdb-to-openssh-opt" but i don't know the reason.
I have to say also that this method is similar to Borland Remote Debugger. In Borland Remote Debugger we need start a remote debugging server and then configure the client options. Run option from the IDE and it takes the control of the program such as occurs in Delphi 7.
Thanks to remote debugging i have detected there is an issue regarding gtk2 unit that i would like to report later.
I will try more..
Regards