Comparison Towards Different Methods of Software Debugging
To ensure that software works as expected, debugging is essential. This article discusses several types of debugging, focusing on Visual Studio Code Debugger, print statement debugging, and static code analysis. Each method is demonstrated through a simple yet comprehensive program that determines whether a selected number is a prime number. We conclude that the Visual Studio Code Debugger offers powerful features but requires prior experience with Visual Studio Code. Print statement debugging is straightforward but can become cumbersome in more complex programs. Static code analysis, particularly with ESLint, does not directly uncover "bugs" in the traditional sense but evaluates code style, security, and good programming practices. Combining these three methods can yield optimal results in the debugging and inspection process, depending on the specific needs and context of the project.
Authors
- Indira Syawanodya
- Akwan Cakra Tajimalela
- Ramandha Putra Suryahadi
- Rizka Alfadilla
- Iqbal Tawakal
Institutions
- Indonesia University of Education (ID)
Publication Details
- Journal
- Journal of Software Engineering Information and Communication Technology (SEICT)
- Published
- 2024-12-12
- DOI
- https://doi.org/10.17509/seict.v5i2.70590
- Primary Topic
- Software Engineering Techniques and Practices
- Type
- article
- Field-Weighted Citation Impact
- 0.00