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

Attach to process

Last modified: 14 April 2023

CLion provides a way to attach the debugger to local processes. Attaching to remote processes is not supported at the moment (CPP-14316)

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