Bad debugging: • Add console logs everywhere • Debug on the latest git commit • Debug on your own for many hours • Make assumptions to find failing code Good debugging: • Use the debugger to save time • Use git bisect to find the bug faster • Talk to a rubber duck or a coworker about the bug • Check logs to find the failing code Debugging is the most important skill you need as an engineer. So here's a powerful resource to learn systematic debugging: - Book: https://lnkd.in/gUzzjxew - YouTube: https://lnkd.in/efJQ7BYQ What did I miss? ~ PS - Join 72,001+ others preparing to pass the system design interview: https://lnkd.in/ed4URjuY ~~~ If you liked this post: ♻ Repost to help others find it 🔔 Follow: Neo K. 🧑🦰 Tag a person learning system design 💾 Save this post for future reference #coding #programming #softwaredevelopment #systemdesign
Hope that chatgpt can find the issue😁
Explain your code to your AI rubber duck and have a convo with it! https://docs.github.com/en/enterprise-cloud%40latest/copilot/using-github-copilot/asking-github-copilot-questions-in-githubcom https://hackernoon.com/how-to-leverage-github-copilot-chat-syntax-chat-participants-chat-variables-and-slash-commands (currently requires Enterprise GitHub license)
I usually like to tell people to try reproduce the issue first and then test your hypotheses systematically. Writing down what I’ve done and resources I’ve looked at help too.
These good techniques can save you hours of frustration. Thanks for sharing, Neo K.!
On Point Neo K. It's always worth using right tools and approaching right people to debug a problem than to spend endless hours using wrong tools and making wrong assumptions.
Debugging is a paramount skill for any software engineer. Thank you for this thoughtful breakdown, Neo. 👌
I learned a lot here and will implement with my teams. Thank you Neo K. 💡 Have an amazing weekend!
Yes. We find solution more faster with team. 💯
Absolutely! Good debugging not only saves time but also ensures optimal software performance. Thanks for sharing Neo K.!
FullStack Developer 2+years experience |.NET 7, Angular 15, Javascript, HTML, CSS, and Database Design | Hosted API at AWS|Data Migration|Table /API Configurations|Handling JWT|Developed HRMS software
5dIf you can discuss a bit more about git bisect