code: def wait(self, dwMilliseconds = None):
          
  
          # Wait for the next debug event.
          raw   = win32.WaitForDebugEvent(dwMilliseconds)
          event = EventFactory.get(self, raw)
  
          # Remember it.
          self.lastEvent = event
  
          # Return it.
          return event
docs: Waits for the next debug event.
  
          @see: L{cont}, L{dispatch}, L{loop}
  
          @type  dwMilliseconds: int
          @param dwMilliseconds: (Optional) Timeout in milliseconds.
              Use C{INFINITE} or C{None} for no timeout.
  
          @rtype:  L{Event}
          @return: An event that occured in one of the debugees.
  
          @raise WindowsError: Raises an exception on error.
              If no target processes are left to debug,
              the error code is L{win32.ERROR_INVALID_HANDLE}.