CLion build before launch for GDB Remote Debuger configuration

Answered

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

Something like "Run Another Configuration".

 

0
1 comment

Hello!

"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: https://youtrack.jetbrains.com/issue/CPP-12601. Feel free to comment or upvote.

0

Please sign in to leave a comment.