old_contents: import vimpdb; vimpdb.set_trace()
  
  
  def out(a):
      print a
  
  
  for abc in range(10):
      out(abc)
  
new_contents: def output(arg):
      print "MANUAL: arg=", arg
  
  
  def main():
      import vimpdb; vimpdb.set_trace()
      for abc in range(10):
          output(abc)
  
  if __name__ == "__main__":
      main()
  
subject: refactor for easier testing