Rewrote debugger.