set_trace_func allows to set Ruby callback function or Proc, which is invoked every time a line of Ruby code is executed., ...