def optimization_func(info, pattern, node):
    info['c'] += 1
    if isinstance(pattern.replacement, collections.Callable):
        return pattern.replacement(node)
    else:
        return pattern.replacement
Set a breakpoint at filename:breakpoint
dataset/ETHPy150Open armon/pypred/pypred/optimizer.py/optimization_func--crossover with--dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/qdb.py/Frontend.do_set_breakpoint