(self, event_type, when, **kwargs)
Called from within SimuVEX when events happens. This function checks all breakpoints registered for that event
        and fires the ones whose conditions match.
Called from within SimuVEX when events happens. This function checks all breakpoints registered for that event
        and fires the ones whose conditions match.
Called from within SimuVEX when events happens . This function checks all breakpoints registered for that event and fires the ones whose conditions match .
def action(self, event_type, when, **kwargs):
        """
        Called from within SimuVEX when events happens. This function checks all breakpoints registered for that event
        and fires the ones whose conditions match.
        """
        # l.debug("Event %s (%s) firing...", event_type, when)
        self.action_attrs_set = False

        for bp in self._breakpoints[event_type]:
            # l.debug("... checking bp %r", bp)
            if not self.action_attrs_set:
                # setup attributes upon the first use
                self._set_inspect_attrs(**kwargs)
                self.action_attrs_set = True
            if bp.check(self.state, when):
                # l.debug("... FIRE")
                saved_set = self.action_attrs_set
                bp.fire(self.state)
                self.action_attrs_set = saved_set
def action ( self , event_type , when , * * kwargs ) : # l.debug("Event %s (%s) firing...", event_type, when) self . action_attrs_set = False for bp in self . _breakpoints [ event_type ] : # l.debug("... checking bp %r", bp) if not self . action_attrs_set : # setup attributes upon the first use self . _set_inspect_attrs ( * * kwargs ) self . action_attrs_set = True if bp . check ( self . state , when ) : # l.debug("... FIRE") saved_set = self . action_attrs_set bp . fire ( self . state ) self . action_attrs_set = saved_set