CLion 2017.2 Help

Debugging

General debugging steps

  1. Configure the debugger engine.
  2. Define a run/debug configuration for the application to be debugged.
  3. Create breakpoints in the source code.
  4. Launch a debugging session.
  5. Pause or resume the debugging session as required.
  6. During the debugger session, step through the breakpoints, evaluate expressions, change values on-the-fly examine suspended program, explore frames, 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: 15 December 2017

See Also