O'Reilly logo

Ruby Programming for the Absolute Beginner by Jerry Lee Ford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Debugging

Up to now your main tools for dealing with script errors have been the careful review of error messages and the careful review of the statements that make up your script files. Given that this book has provided you with explicit instruction on how to create and execute all of its examples and game scripts, these tools have hopefully been all you needed. However, as you venture out on your own and as your scripts become more complex, your script errors will become more difficult to track down. The purpose of this chapter is to provide you with additional instruction on how to track down and deal with script errors. You will learn how to add error-handling logic to your Ruby scripts. You will also learn how to work with Ruby’s ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required