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
- In the Toolchains Dialog Box, check up the actual GDB executable: bundled or specific. Change the current setting, if required.
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:
Refer to Tuning CLion topic for details.