debug class code