visual studio breakpoint shortcu code example Example: breakpoint hotkey visual studio Press F9 to add a breakpoint to the line in which the cursor is on.