def open_editor_on_stack_frame(w, size, key):
    (_, pos) = self.stack_list._w.get_focus()
    index = self.translate_ui_stack_index(pos)
    (curframe, line_number) = self.debugger.stack[index]
    file_name = curframe.f_code.co_filename
    open_file_editor(file_name, line_number)
def open_editor_on_stack_frame(w, size, key):
    (_, pos) = self.stack_list._w.get_focus()
    index = self.translate_ui_stack_index(pos)
    (curframe, line_number) = self.debugger.stack[index]
    file_name = curframe.f_code.co_filename
    open_file_editor(file_name, line_number)