Skip to content

Commit 1d15fcc

Browse files
Update 01-Learn To Debug.md
Delete redundant 'the'.
1 parent 452518b commit 1d15fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/1-Beginner/Personal-Skills/01-Learn To Debug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The common ways of looking into the ‘innards’ of an executing program can be
1414
- Printlining - Making a temporary modification to the program, typically adding lines that print information out, and
1515
- Logging - Creating a permanent window into the programs execution in the form of a log.
1616

17-
Debugging tools are wonderful when they are stable and available, but the printlining and logging are even more important. Debugging tools often lag behind language development, so at any point in time they may not be available. In addition, because the debugging tool may subtly change the way the program executes it may not always be practical. Finally, there are some kinds of debugging, such as checking an assertion against a large data structure, that require writing code and changing the execution of the program. It is good to know how to use debugging tools when they are stable, but it is critical to be able to employ the other two methods.
17+
Debugging tools are wonderful when they are stable and available, but printlining and logging are even more important. Debugging tools often lag behind language development, so at any point in time they may not be available. In addition, because the debugging tool may subtly change the way the program executes it may not always be practical. Finally, there are some kinds of debugging, such as checking an assertion against a large data structure, that require writing code and changing the execution of the program. It is good to know how to use debugging tools when they are stable, but it is critical to be able to employ the other two methods.
1818

1919
Some beginners fear debugging when it requires modifying code. This is understandable - it is a little like exploratory surgery. But you have to learn to poke at the code and make it jump; you have to learn to experiment on it and understand that nothing that you temporarily do to it will make it worse. If you feel this fear, seek out a mentor - we lose a lot of good programmers at the delicate onset of their learning to this fear.
2020

0 commit comments

Comments
 (0)