Debug using ROOT