code: def _stackbrowser(parent):  # htest #
      from idlelib.pyshell import PyShellFileList
  
      top = tk.Toplevel(parent)
      top.title("Test StackViewer")
      x, y = map(int, parent.geometry().split("+")[1:])
      top.geometry("+%d+%d" % (x + 50, y + 175))
      flist = PyShellFileList(top)
      try:  # to obtain a traceback object
          intentional_name_error
      except NameError as e:
          StackBrowser(top, e, flist=flist, top=top)
  
imports: import linecache
  import os
  import tkinter
  from idlelib.debugobj import ObjectTreeItem, make_objecttreeitem
  from idlelib.tree import TreeNode, TreeItem, ScrolledCanvas
label_desc: Use image node_id 2 for calling a global function with example usage: _stackbrowser(parent) without return types