3 ms·
Knowing how to split the problem space in debugging. Something is going wrong. Where is it going wrong? Could be anywhere. Well, not anywhere - it has to be
by AnimalMuppet 6y ago
Knowing how to split the problem space in debugging.
Something is going wrong. Where is it going wrong? Could be anywhere. Well, not anywhere - it has to be either A, B, or C. How can we get more information? OK, we put logging in here and here, and run this test, and we find out that it's in B. Now, how could it go wrong in B?
And so on until you understand what's really causing the problem.