parameters: (self, event)
docstring: Auxiliary method for L{_notify_exit_process}.
docstring_summary: Auxiliary method for L{_notify_exit_process}.
docstring_tokens: Auxiliary method for L { _notify_exit_process } .
function: def __cleanup_process(self, event):
          """
          Auxiliary method for L{_notify_exit_process}.
          """
          pid     = event.get_pid()
          process = event.get_process()
  
          # Cleanup code breakpoints
          for (bp_pid, bp_address) in compat.keys(self.__codeBP):
              if bp_pid == pid:
                  bp = self.__codeBP[ (bp_pid, bp_address) ]
                  self.__cleanup_breakpoint(event, bp)
                  del self.__codeBP[ (bp_pid, bp_address) ]
  
          # Cleanup page breakpoints
          for (bp_pid, bp_address) in compat.keys(self.__pageBP):
              if bp_pid == pid:
                  bp = self.__pageBP[ (bp_pid, bp_address) ]
                  self.__cleanup_breakpoint(event, bp)
                  del self.__pageBP[ (bp_pid, bp_address) ]
  
          # Cleanup deferred code breakpoints
          try:
              del self.__deferredBP[pid]
          except KeyError:
              pass
function_tokens: def __cleanup_process ( self , event ) : pid = event . get_pid ( ) process = event . get_process ( ) # Cleanup code breakpoints for ( bp_pid , bp_address ) in compat . keys ( self . __codeBP ) : if bp_pid == pid : bp = self . __codeBP [ ( bp_pid , bp_address ) ] self . __cleanup_breakpoint ( event , bp ) del self . __codeBP [ ( bp_pid , bp_address ) ] # Cleanup page breakpoints for ( bp_pid , bp_address ) in compat . keys ( self . __pageBP ) : if bp_pid == pid : bp = self . __pageBP [ ( bp_pid , bp_address ) ] self . __cleanup_breakpoint ( event , bp ) del self . __pageBP [ ( bp_pid , bp_address ) ] # Cleanup deferred code breakpoints try : del self . __deferredBP [ pid ] except KeyError : pass