debugging toolbar code