Our Idea Book doesn't contain just building and programming instructions for robots. We've also tossed in about 8+ chapters (I call them "theory" chapters - you can call them what you like) that cover various topics related to NXT robotics.
In addition to contributing a robot to the book, I've also written an introductory chapter on debugging programs. I introduce various methods that can be used in a pesky NXT-G program to help you track down bugs and fix issues. I provide sample programs that demonstrate how to use blocks such as the Sound block and Wait block (and a few others) with your debugging efforts.