# File lib/ruby-debug/event_processor.rb, line 41
     def line_event(context, file, line)
       @line = line
       @file = file
       @context = context
       if @last_breakpoint
         # followed after #at_breakpoint in the same thread. Print breakpoint
         # now when @line, @file and @context are correctly set to prevent race
         # condition with `control thread'.
         n = Debugger.breakpoints.index(@last_breakpoint) + 1
         @printer.print_breakpoint n, @last_breakpoint
         @last_breakpoint = nil
       end
       raise "DebuggerThread are not supposed to be traced (#{context.thread})" if context.thread.is_a?(Debugger::DebugThread)
       @printer.print_debug("Stopping Thread %s", context.thread.to_s)
       @printer.print_debug("Threads equal: %s", Thread.current == context.thread)
       # will be resumed by commands like `step', `next', `continue', `finish'
       # from `control thread'
       Thread.stop
       @printer.print_debug("Resumed Thread %s", context.thread.to_s)
       @line = nil
       @file = nil
       @context = nil
     end