code: def set_vector_catch(self, flags):
          
          res = self._dll.JLINKARM_WriteVectorCatch(flags)
          if res < 0:
              raise errors.JLinkException(res)
          return None
docs: Sets vector catch bits of the processor.
  
          The CPU will jump to a vector if the given vector catch is active, and
          will enter a debug state.  This has the effect of halting the CPU as
          well, meaning the CPU must be explicitly restarted.
  
          Args:
            self (JLink): the ``JLink`` instance
  
          Returns:
            ``None``
  
          Raises:
            JLinkException: on error.