Remote Debuggung / Post build commands

General questions regarding the usage of CodeLite
CodeLite Curious
Posts: 1
Joined: Fri Apr 27, 2018 1:55 pm
Genuine User: Yes
IDE Question: c++

Remote Debuggung / Post build commands

Post by Rainer » Fri Jul 13, 2018 2:23 pm

I used CodeLite with an external buildroot toolchain to generate a GTK+ application. This application runs on an embedded arm X server.
Code generation and remote debuging works quit nice. Now I want to improve the debuuging procedure.

With post build commands I can strip the code, copy it to the target with scp and restart the target gdbserver.
Unfortunately the commands will also executed when I simply compile a c-file.

1. Can I add somewhere else commands (not debugger commands) which will be executed before starting the debugger ?
I have tried to work with gdbserver --multi and remote put and remote exec-file but this cause some problems with the display resolution on the screen.

2. In the debugger settings a remote target can be specified. Is there any variable like $(ProjectName) available which contain this information ?

Thanks and regards