8 Brilliant Debugging Ways to Quickly Identify the Problem

Learn the tried and tested techniques that can become part of your developer armor

Dishit Devasia
4 min readSep 14, 2023

If you have done any programming, you will have debugged the code. Without learning to debug, you cannot be a programmer.

But have you spent hours looking at a piece of code only to find the problem is elsewhere?

Have you pulled your hair searching for the offending line of code?

Have you ever cursed the day you decided to learn programming as you cannot find the reason for a particular bug?

We have all been there.

But it doesn’t need to happen all the time when you are coding.

There are strategies you can use to find the issue quicker.

Reproduce the issue

This is the first step in any debugging process when you have found a bug in existing code.

Unless you can reproduce the issue on your laptop, it becomes very challenging to fix the issue.

So find ways to reproduce the issue in your development environment a.k.a your laptop.

This is important as then you can leverage the powers of your IDE to do quick debugging.

--

--

Dishit Devasia

Software engineer and writer living in Melbourne, Australia