Learning Debugger Code Today#
Today I learned how to use the Debugger to debug code. On the line where debugging is needed, I can open a blue dot and then click the "play" button on the left side, and the program will run automatically. When the program reaches the line with the blue dot, it will stop and wait for commands.
During the debugging process, I can perform the following four operations:
- Stop: Stop the execution of the program.
- Next step/Next line: Execute the next step (or next line) of code.
- Skip step: Skip the current step and directly execute the next step (or next line) of code.
- Next breakpoint: Jump to the next breakpoint.
Today's learning task did not require writing new code, but rather practicing operations using the Debugger system.