code: def erase_process_breakpoints(self, dwProcessId):
          
  
          # disable breakpoints first
          # if an error occurs, no breakpoint is erased
          self.disable_process_breakpoints(dwProcessId)
  
  ##        # erase hooks
  ##        for address, hook in self.get_process_hooks(dwProcessId):
  ##            self.dont_hook_function(dwProcessId, address)
  
          # erase code breakpoints
          for bp in self.get_process_code_breakpoints(dwProcessId):
              self.erase_code_breakpoint(dwProcessId, bp.get_address())
  
          # erase page breakpoints
          for bp in self.get_process_page_breakpoints(dwProcessId):
              self.erase_page_breakpoint(dwProcessId, bp.get_address())
  
          # erase hardware breakpoints
          if self.system.has_process(dwProcessId):
              aProcess = self.system.get_process(dwProcessId)
          else:
              aProcess = Process(dwProcessId)
              aProcess.scan_threads()
          for aThread in aProcess.iter_threads():
              dwThreadId = aThread.get_tid()
              for bp in self.get_thread_hardware_breakpoints(dwThreadId):
                  self.erase_hardware_breakpoint(dwThreadId, bp.get_address())
docs: Erases all breakpoints for the given process.
  
          @type  dwProcessId: int
          @param dwProcessId: Process global ID.