Keyboard:
CTRL + F10
Menu: Right -> Run this point
Command: Debug.RunToCursor
Version: 2008 , 2010
When you need to quickly run a piece of code, usually set a breakpoint in the current line.
Place your mouse on the line that you need to stop running the program:
Pressing the CTRL + the F10 . VS will launch the application and set a temporary breakpoint on the line where the mouse. When the line hit, the program will stop here.
Reproduced in: https: //www.cnblogs.com/netwenchao/archive/2010/05/08/1730294.html