Introduction to Bugs and Exceptions

Get an overview of what will be covered about bugs and exceptions in this chapter.

We'll cover the following

Overview

Writing software can be hard, and when we write it, we’ll make errors. We will, unintentionally, introduce bugs into our application.

Some of them will be rather trivial to find and fix, but some can set us off on a wild goose chase through the code where we try to understand the reasons for why things aren’t working the way we expect them to.

It isn’t unheard of that people spend days, and sometimes weeks, attempting to track down a bug. To be able to find bugs in our applications, we’ll need to understand what kinds exist and how they affect the way our applications run. This chapter will help us recognize them.

Get hands-on with 1200+ tech skills courses.