CLion
An intelligent IDE for C/C++ development, taking native development to new dimensions with advanced code analysis and CMake integration
Debug shortcuts for efficiently identifying and fixing C++ application bugs with breakpoint setting and step execution
Ctrl+F8
Toggle Breakpoint
Sets or removes a breakpoint on the current line.
💡 Hint: Ctrl+F8 for breakpoint
🎯 Quickly set breakpoints to identify bug locations
Shift+F9
Debug
Runs the current configuration in debug mode.
💡 Hint: Shift+F9 to debug
🎯 Run in debug mode to track program behavior in detail
F8
Step Over
Executes the current line and moves to the next.
💡 Hint: F8 to step over
🎯 Execute current line and proceed to next to confirm processing flow
F7
Step Into
Steps into method calls.
💡 Hint: F7 to step in
🎯 Step into method calls to investigate detailed behavior
Shift+F8
Step Out
Steps out of the current method.
💡 Hint: Shift+F8 to step out
🎯 Step out of current method to return to caller
F9
Resume Program
Resumes program execution.
💡 Hint: F9 to resume
🎯 Continue program execution to next breakpoint
Alt+F8
Evaluate Expression
Evaluates an expression during debugging.
💡 Hint: Alt+F8 to evaluate
🎯 Evaluate expressions during debugging to check variable values and calculation results
Ctrl+Shift+F8
View Breakpoints
Shows and manages all breakpoints.
💡 Hint: Add Shift to view
🎯 Manage all breakpoints for efficient debugging