def get_process(self):
        """
        @see: L{get_pid}

        @rtype:  L{Process}
        @return: Process where the event occured.
        """
        pid     = self.get_pid()
        system  = self.debug.system
        if system.has_process(pid):
            process = system.get_process(pid)
        else:
            # XXX HACK
            # The process object was missing for some reason, so make a new one.
            process = Process(pid)
            system._add_process(process)
##            process.scan_threads()    # not needed
            process.scan_modules()
        return process
def get_process ( self ) : pid = self . get_pid ( ) system = self . debug . system if system . has_process ( pid ) : process = system . get_process ( pid ) else : process = Process ( pid ) system . _add_process ( process ) process . scan_modules ( ) return process
@see: L{get_pid}

        @rtype:  L{Process}
        @return: Process where the event occured.