docs: def remove_trace(self, frame=None):
          """
          Detach the debugger from the execution stack
  
          :param frame: the lowest frame to detach the debugger from.
          :type frame: types.FrameType
          """
          sys.settrace(None)
          if frame is None:
              frame = self.curframe
          while frame and frame is not self.botframe:
              del frame.f_trace
              frame = frame.f_back