CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Remote Debug

Last modified: 11 January 2023

Local OS: macOS / Linux / Windows for GDB, macOS / Linux for LLDB

Remote OS: any supporting gdbserver for GDB, macOS / Linux or another supporting lldb-server for LLDB

Required tool: gdbserver or lldb-server on target

Binary and symbol file synchronization: manual

Client debugger: bundled GDB or bundled LLDB, toolchain's GDB, custom GDB

The Remote Debug configuration allows you to debug remotely under gdbserver or lldb-server. Use this configuration if you already have the executable with debug information and don't need CLion to build the project for you. This configuration is independent of a particular build system or project format.

With this configuration, you can remotely debug applications that were built by any build system. The only requirement is for the debug symbols to be present on the local machine.