I am using Mac Boo Pro . I am new to Java and I want to debug my program. can anyone please let me know the steps for debugging. I have googled and I am confused .

please help.