Debugging in Vim

Debugging in Vim

The editor window on the right—with the corresponding source code—will show breakpoints and highlight lines when stepping through a program. Alternatively, breakpoints can be set by navigating to a line of code in the editor window and entering . After passing all breakpoints and running the program until termination, we can see in the program window, which is the expected output for the calculation of .

Source: www.dannyadam.com