CLion 2017.3 Help

Debugging

General debugging steps

  1. Configure the debugger options
  2. Choose the desired CMake profile.
  3. Define a run/debug configuration for the application to be debugged.
  4. Create breakpoints in the source code.
  5. Launch a debugging session.
  6. Pause or resume the debugging session as required.
  7. During the debugger session, step through the breakpoints, evaluate expressions, change values on-the-fly examine suspended program, and set watches.

After you've started a debug session, the debug icon that marks the Debug tool window toggles to debug active to indicate that the debug process is active.

Last modified: 27 March 2018

See Also