Skip to Content

If you want to get better at coding you’ll need to practice debugging!

Check out these challenges:

Debugging Challenge #1

# This code is supposed to play one note after the next by waiting a small amount (0.5) until playing the next note; however, the code is taking much longer than expected.

# What should we change in the code to make this work correctly?

play 72

sleep 05

play 75

sleep 05

play 79

Debugging Challenge #2

# I want to play this chord; however, I think I forgot something.

# What mistake did I make in my list?

play [:A :C :E]

Want more debugging challenges?

Check out this awesome list of debugging challenges for Sonic Pi.