Debugger not working?

According to the book i should set a breakpoint, then click the debug button. When i click on the debug window, there is nothing in the two windows labeled “frames” and “variables” also the step buttons are grayed out.

What am i doing wrong?

I think you should erase the settings and reboot the device, then reinstall it. I have previously encountered that case with the Cinema HD app at Techbigs and have solved the problem using that method, wish you success.