code: def enable_one_shot_hardware_breakpoint(self, dwThreadId, address):
          
          t  = self.system.get_thread(dwThreadId)
          bp = self.get_hardware_breakpoint(dwThreadId, address)
          if bp.is_running():
              self.__del_running_bp_from_all_threads(bp)
          bp.one_shot(None, t)
docs: Enables the hardware breakpoint at the given address for only one shot.
  
          @see:
              L{define_hardware_breakpoint},
              L{has_hardware_breakpoint},
              L{get_hardware_breakpoint},
              L{enable_hardware_breakpoint},
              L{disable_hardware_breakpoint}
              L{erase_hardware_breakpoint},
  
          @type  dwThreadId: int
          @param dwThreadId: Thread global ID.
  
          @type  address: int
          @param address: Memory address of breakpoint.