Java Program Bugs and Software Debugging Overview - Java Tutorial - Appficial

preview_player
Показать описание
A bug is an error in your computer program that causes it to produce incorrect or unexpected results

The term bug was coined in 1947 by Grace Hopper, an engineer who discovered her program on a Harvard University Mark II computer was not working because a moth was stuck in one of the relays (a type of mechanical switch)

Debugging (troubleshooting) is the process of finding and fixing problems (bugs) in a computer program

There are several approaches to consider when debugging
- Understand and fix compiler errors and warnings
- Write comments in the code to remind yourself to fix it later
- Manually set variables to specific values for verifying your program results
- Temporarily comment out suspected code to disable it
- Insert print statements throughout your program to watch values of variables
- Visually inspect the code, or have a friend/coworker review it
- Use the IDE’s debugger tool
- Use a testing framework such as JUnit

Please SUBSCRIBE, and check out some other Java Tutorial videos!

How to Download and Install the Java JDK for Setting Up Your Java Development Environment

How to Download and Install the Eclipse IDE for Java Developers and Run Hello World

Compile and Run Java Programs Using the Command Line with java and javac - Setup JDK Path

Introduction to Programming and Java

Basic Java Output using print and println Methods and HelloWorld Program

Basic Java Input using Scanner methods next and nextInt

Java Comments

Java Whitespaces - Whitespace Characters in your Program

Java Program Bugs and Debugging

Java Syntax Errors and Compiler Errors

Java Runtime Errors

Java Logic Errors

Java Compiler Warnings

History of Computers and Programs

A Basic Overview of Computer Hardware

History of Java

The Java Compiler and the JVM
Рекомендации по теме
Комментарии
Автор

Please SUBSCRIBE! More programming videos coming soon! ✌️

Appficial
welcome to shbcf.ru