|
|
|
|
|
by okcando
2642 days ago
|
|
This amounts to saying that you don't need a debugger if you don't make mistakes. If your mental model of how the code that you're interfacing with works is wrong, then it won't help you. Your data validation will error out and you might find that it was too much too early. Not only do you have logic based on flawed assumptions but check code as well. Understanding the code base you're programming against, that's a skill that can be improved but hoping to guard against all misunderstandings is probably unrealistic. Given that, following a trace may help you identify disagreements with your model more quickly. |
|
Not making mistakes certainly saves time.
I often use a debugger to inspect variables and check my assumptions about the application state at that point.