Make the problem reproducible
Record the input, expected result, actual result, and the smallest steps that trigger the issue. A minimal example removes unrelated distractions.
Check assumptions in order
Trace the program with a small input. Inspect variable values, branch conditions, loop boundaries, and function arguments. Read the full error message.
Change one thing at a time
Form a specific hypothesis, make one small change, and rerun the test. If the result changes, you have evidence.
Keep a useful test
Once fixed, add or retain a test for the behaviour that failed. This helps catch the same issue if later changes affect it.
YOUR NEXT STEP
Request a session ↗Want to work through a topic together?
Tell us what you are studying and we will discuss a suitable session.
