parameters: (self, hit_condition)
return_statement: return hit_condition
docstring: Following hit condition values are supported
  
          * x or == x when breakpoint is hit x times
          * >= x when breakpoint is hit more than or equal to x times
          * % x when breakpoint is hit multiple of x times
  
          Returns '@HIT@ == x' where @HIT@ will be replaced by number of hits
docstring_summary: Following hit condition values are supported
docstring_tokens: Following hit condition values are supported
function: def _get_hit_condition_expression(self, hit_condition):
          """Following hit condition values are supported
  
          * x or == x when breakpoint is hit x times
          * >= x when breakpoint is hit more than or equal to x times
          * % x when breakpoint is hit multiple of x times
  
          Returns '@HIT@ == x' where @HIT@ will be replaced by number of hits
          """
          if not hit_condition:
              return None
  
          expr = hit_condition.strip()
          try:
              int(expr)
              return '@HIT@ == {}'.format(expr)
          except ValueError:
              pass
  
          if expr.startswith('%'):
              return '@HIT@ {} == 0'.format(expr)
  
          if expr.startswith('==') or \
              expr.startswith('>') or \
              expr.startswith('<'):
              return '@HIT@ {}'.format(expr)
  
          return hit_condition
function_tokens: def _get_hit_condition_expression ( self , hit_condition ) : if not hit_condition : return None expr = hit_condition . strip ( ) try : int ( expr ) return '@HIT@ == {}' . format ( expr ) except ValueError : pass if expr . startswith ( '%' ) : return '@HIT@ {} == 0' . format ( expr ) if expr . startswith ( '==' ) or expr . startswith ( '>' ) or expr . startswith ( '<' ) : return '@HIT@ {}' . format ( expr ) return hit_condition