module Byebug::ThreadFunctions

def display_context(c, show_top_frame=true)

:nodoc:
def display_context(c, show_top_frame=true)
  c_flag = c.thread == Thread.current ? '+' : ' '
  c_flag = '$' if c.suspended?
  d_flag = c.ignored? ? '!' : ' '
  print "%s%s", c_flag, d_flag
  print "%d ", c.thnum
  print "%s\t", c.thread.inspect
  if c.stack_size > 0 and show_top_frame
    print "%s:%d", c.frame_file(0), c.frame_line(0)
  end
  print "\n"
end