I Debug Through It 本人调试通过
If the system is a jumbled mess, then the system might get into an undesired state through any number of paths and so it is hard to debug.
如果系统是乱七八糟的,那么系统可能通过许多路径进入不希望的状态,并且因此很难调试。
Don't make overly vague TODO items such as "debug sound problem", really think it through, and write out the full task in numerous steps. For example.
不要写下过于笼统的待完成项,如“调试声音问题”;把它想清楚,并写下完整的步骤,比如。
Rather than stepping through your code line-by-line or instruction-by-instruction, you can allow your program to run until it hits a breakpoint, then start to debug.
与逐句或逐条指令地检查代码不同的是,可以让程序一直执行,直到遇到断点,然后开始调试。
But for the next week or two when you're writing programs, at least for the first time, generally if you're trying Scratch to debug them like you might have been trying to troubleshoot Scratch, you're probably going to reason - through it by looking through the your code -- -- top to bottom, maybe engage a staff member for help -- but your friend will also be printf.
但是,在接下来的一两周内,当你们写程序的时候,或至少在第一次写的时候,通常如果你在调试程序,就像你们可能已经试着调试过,你们或许是通过查看你们的代码,来推断你们的程序-,从头到尾,可能还需要别人的帮忙-,但是你的朋友也将要打印输出。
应用推荐