Study Notes (24): C # haste breakpoints in the entry -VS

Learning immediately: https://edu.csdn.net/course/play/20589/257736?utm_source=blogtoedu

Breakpoint debugging

1. Set a breakpoint (click on the blank space before the line number)

2. single-step execution (F11-by-statement debugging)

3. Observe variables (the mouse on the variable name observation)

4. F10-by-process debugging

5. Print debugging:

Console.WriteLine("执行过来了");
Debug.Log("执行过来了");

 

Published 34 original articles · won praise 0 · Views 316

Guess you like

Origin blog.csdn.net/u013162262/article/details/104808936