add more code for ndb cpu debugger.