def user_line(self, frame):
    'This function is called when we stop or break at this line.'
    if ('__exc_tuple__' in frame.f_locals):
        del frame.f_locals['__exc_tuple__']
    if self._wait_for_mainpyfile:
        if ((self.mainpyfile != self.canonic(frame.f_code.co_filename)) or (frame.f_lineno <= 0)):
            return
        self._wait_for_mainpyfile = False
        self.bottom_frame = frame
    if self.get_break(self.canonic(frame.f_code.co_filename), frame.f_lineno):
        self.current_bp = (self.canonic(frame.f_code.co_filename), frame.f_lineno)
    else:
        self.current_bp = None
    try:
        self.ui.update_breakpoints()
        self.interaction(frame)
    except Exception:
        self.ui.show_internal_exc_dlg(sys.exc_info())
This function is called when we stop or break at this line.
def user_line(self, frame):
    
    if ('__exc_tuple__' in frame.f_locals):
        del frame.f_locals['__exc_tuple__']
    if self._wait_for_mainpyfile:
        if ((self.mainpyfile != self.canonic(frame.f_code.co_filename)) or (frame.f_lineno <= 0)):
            return
        self._wait_for_mainpyfile = False
        self.bottom_frame = frame
    if self.get_break(self.canonic(frame.f_code.co_filename), frame.f_lineno):
        self.current_bp = (self.canonic(frame.f_code.co_filename), frame.f_lineno)
    else:
        self.current_bp = None
    try:
        self.ui.update_breakpoints()
        self.interaction(frame)
    except Exception:
        self.ui.show_internal_exc_dlg(sys.exc_info())