Please enable JavaScript to use CodeHS

Debugging in Java

Finding and fixing errors in programs is a fundamental skill for new and experienced programmers to develop. This CodeHS course introduces debugging: the art and science of fixing broken programs. You'll learn techniques for finding common code errors and effective debugging strategies for Java exercises to share with students.

Overview & Highlights

High School
Contact Hours

Course Overview

To view the entire syllabus, click here or click to explore the full course.

Welcome to Debugging in Java!
In this brief module, we give an overview of what the Debugging in Java course is all about.
Introduction to Debugging
Learn about the history and key ideas of debugging in this lesson.
Basic Debugging in Java
This module introduces fundamental concepts and techniques for debugging.
Debugging Tools
This module introduces you to tools that you can use for debugging Java computer programs.
Debugging Techniques
In the module we see how to use print statements and comments to debug Java programs.
Common Java Errors
In this module we learn about common Java programming errors and how to avoid them.
Common Compiler Errors
This module discusses common compiler errors in Java programs.
Advanced Debugging Practice
In this module we learn additional techniques and tips for debugging Java programs.
Using Other IDEs
This module focuses on how to use the Java main method in IDEs outside of CodeHS.
Asking the Right Questions
This module wraps up the course by focusing on how to be a good facilitator in a computer science course by asking the right questions.
Course Wrap-up
Congratulations of completing the Debugging in Java PD course! In this module, you can complete the course survey, earn your course badge, and receive a certificate of completion for 5 professional development hours.