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

Attach to process

Last modified: 11 June 2021

The Attach to process feature allows you to debug a project which you are developing in CLion, but (for some reasons) are not able to launch directly from your IDE.

For C/C++ applications, you can attach to a process with GDB on Windows, LLDB on macOS, and both GDB and LLDB on Linux. When applicable, debuggers for other languages (for example, Python debugger or Swift LLDB) can be used as well.