Details
Description
- Open a project
- Add a breakpoint
- Debug the project, wait until execution stops at the breakpoint
- Insert some code lines (no comments) above the line with the breakpoint. How about some qDebug() there?
The breakpoint will move down together with the lines. Neat! - Save the file.
- Stop debugger
- Run debugger
Execution will stop at the same line where the breakpoint was before the new lines were added. Try to remove the breakpoint by clicking the red ball. A second red ball will show up in the same line. The breakpoint can be removed using the Breakpoints view or by clicking the left border of the line where the execution stopped.