Further improved debugger class.