class_docstr: Supply user_line and user_exception functions for Bdb.
docstr: Handle a user stopping or breaking at a line.
  
  Convert frame to a string and send it to gui.
docstr_tok: ["Handle","a","user","stopping","or","breaking","at","a","line",".","Convert","frame","to","a","string","and","send","it","to","gui","."]
code: def user_line(self, frame):
      """Handle a user stopping or breaking at a line.
  
      Convert frame to a string and send it to gui.
      """
      if _in_rpc_code(frame):
          self.set_step()
          return
      message = _frame2message(frame)
      try:
          self.gui.interaction(message, frame)
      except TclError:  # When closing debugger window with [x] in 3.x
          pass
  
imports: import bdb
  import os
  from tkinter import *
  from tkinter.ttk import Frame, Scrollbar
  from idlelib import macosx
  from idlelib.scrolledlist import ScrolledList
  from idlelib.window import ListedToplevel
label_desc: Use image node_id 2 for calling the Idb obj's underlying member method code with example usage: obj.user_line(frame) without return types