debug tree