Academics · Study Skills
Debugging is a skill you can practice and a habit you can check. After each session, mark six steps: you made the error happen again, read the whole message, narrowed the problem to one place, wrote your guess before changing the code, changed one thing at a time and wrote down the cause. The page keeps each session under your code so you can see the habit grow. It runs no code and finds no bugs.
Cancel anytime. How plans and refunds work
Included with Caveat Plus ($9.99 a month or $99.90 a year), Caveat Family (up to 5 people, $14.99 a month) and Caveat Teams (25 people, $199 a month). Anything you bought before stays yours.
The worked example is made up: three sessions on invented programs, the share of steps done going from 0% to 16.7% to 100% against a goal of 85 percent. Dates move with today. The page runs no code; the marks are yours.
Loading the session form. If nothing appears, turn on JavaScript.
Academics · Study SkillsOpen to everyone · no sign-in
Fitzgerald, McCauley and Hanks (2010) studied student programmers at several colleges. The students said that finding a bug is harder than fixing it, and that forming a guess about the cause was one of the strategies that helped. This log turns those habits into marks.
The Python tutorial explains that an error message names the kind of error and shows the line where it was found. Step two asks you to read all of it, because the last line and the line number carry the most information.
Changing several things at once means you cannot tell which change fixed the problem or caused a new one. Steps five and six keep the changes small and the cause written down.
The worked example is made up. Figures are worked out from what you record; the page does not assess, diagnose or decide eligibility. Nothing you type is sent to Caveat. Support: team@caveatacademic.com.