Debugger print tree working