watch for a variable change in python,pdb.set_trace()