CLion Help

Configuring Debugger Options

CLion supports debugging for C/C++ executables using GDB. CLion provides the most recent version of GDB out of the box, but you can use any compatible GDB version installed on your platform.

To configure settings required for debugging, perform the following general steps

  1. In the Toolchains Dialog Box, check up the actual GDB executable: bundled or specific. Change the current setting, if required.
  2. In the Settings dialog box, configure the debugger options:
    • Under the Build, Execution and Deployment, click Debugger, and define the debugger options as required.

    Note: You can change timeout for gdb to start: open the .vmoption file, and add the following line:

    -Dcpp.debugger.timeout.load=[value]

    Refer to Tuning CLion topic for details.

See Also

Web Resources:

External Links:

Last modified: 7 May 2015