Improved debugging system