1. Breakpoint setting: Test at the far left of the code (click with the mouse) ----> generate a breakpoint (red dot) F9 to set and cancel the breakpoint
2. F5: After starting debugging and pressing F5, the program runs to the breakpoint ---> At this time , the value of the current local variable + the function being called on the stack (convenient to see where the error occurs) Ctrl + F5
If there are multiple breakpoints: in the debugging state, F5 runs to the breakpoint position, press F5 again to run to the next breakpoint position
SHIFT + F5-----Exit debugging
Begin ( F5 ) End ( SHIFT + F5 )
3. F10 next step: do not enter the next step of the function
4. F11 next sentence : enter the next step of the function
SHIFT + F11
In (F11) and out ( SHIFT + F11 )
5. Ctrl + shift 6 + F5 to quickly recompile and debug this project
6. SHIFT + F11---Debug the position where you just pressed F11
7. F12 to go to definition Ctrl + F12 to go to declaration
Reference: https://jingyan.baidu.com/album/d45ad148999dd069552b8098.html?picindex=4
https://www.cnblogs.com/ydfq-home/p/5017330.html
https://www.cnblogs.com/wangsai/p/4113242.html