CLion build before launch for GDB Remote Debuger configuration


I'm locking for a way to build of a configuration before the remote gdb session is launched.

Something like "Run Another Configuration".


1 comment


"Application" Run/Debug configuration is intended for building, installing, running and debugging an executable/library on the machine where CLion is installed.

"GDB Remote Debug" Run/Debug configuration is intended for debugging an executable/library located on the remote machine.

So you need to have an "Application" Run/Debug configuration to build an executable on a host and a "GDB Remote Debug" Run/Debug configuration to perform remote debug.

We have an issue in our tracker about enabling "Build" button for "GDB Remote debug" configuration: Feel free to comment or upvote.


Please sign in to leave a comment.