A Two-Dimensional (2D) Approach to Debugging Web Software Defects (Bugs)

Kabir Mohammed
Dec 13, 2019 · 2 min read

First off, this article does not apply to machine learning, deep learning, or more generically, the artificial intelligence field of programming. A.I. programming is significantly complicated, and debugging A.I problems are exponentially tricky. The scope of this article is traditional software development. Since my personal experience is primarily in web applications, I have applied the debugging approach mentioned in this article in finding solutions to software defects a.k.a bugs.

When you write a Web application and hit a defect, your debugging process can be thought of as a two-dimensional (2D) grid.

Scope of Debugging in 2D

On the X-axis, you have algorithmic bugs (AB1-ABn), and on the Y-axis, you have the implementation bugs (IB1-IBn).

Using the signals (error messages, exception, logs, etc.) from the bug event, you can intuitively eliminate one or more cases (white circles) and focus on a few suspect cases (various grades of yellow circles).

Debugging in 2D using Signals from the Bug

Why Do I Care?

Experience and discipline are your primary weapons against software defects. So why do I care about how to think of solving defects? Because there is always a method to the madness of computer programming. It is not just an art form that many would have you believe. It is more science than art. Web developers often lack excellent debugging skills because they don’t think of the solution space, methodologies, and logical organization of thoughts in defect management. This article is to encourage such behavior.

Photo by bruce mars on Unsplash

Kabir Mohammed

Written by

A published tech author and founder from Rocklin, California. https://mjkabir.com/bio

EVOKNOW

EVOKNOW

EVOKNOW is a multinational e-commerce service provider and developer of the LoneTree Commerce platform.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade