def showSublimeContext(self, filename, line):
    debug("showSublimeContext: "+str(filename) + " : " + str(line))
    console_output("@@@ Stopped at "+str(filename.replace(self.projectDir+"/", "")) + ":" + str(line) +" @@@")
    window = sublime.active_window()
    if window:
      window.focus_group(0)
      view = window.active_view()
      # debug("showSublimeContext: view: " + str(view) + "; size: " + str(view.size()))
      # testing that "view" is not None is insufficient here
      if view is not None and view.size() >= 0:
        filename = os.path.join(self.projectDir, filename)
        if view.file_name() != filename:
          self.activateViewWithFile(filename, line)

        window.run_command("goto_line", {"line": line})
        # view might have changed
        view = window.active_view()
        mark = [view.line(view.text_point(1 - line, 0))]
        view.erase_regions("current_line")  # removes it if we change files
        view.add_regions("current_line", mark, "current_line", "dot", sublime.DRAW_OUTLINED)  # sublime.HIDDEN | sublime.PERSISTENT)
      else:
        debug("No current view")

  # Handle category of commands that move the execution pointer ("run", "step", "over")
dataset/ETHPy150Open coronalabs/CoronaSDK-SublimeText/debugger.py/CoronaDebuggerThread.showSublimeContext/swapped operands of `-`