method

format_frame

ruby latest stable - Class: DEBUGGER__::Context

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

format_frame(pos)
public

No documentation available.

# File lib/debug.rb, line 624
  def format_frame(pos)
    bind, file, line, id = @frames[pos]
    sprintf "#%d %s:%s%s\n", pos + 1, file, line,
      (id ? ":in `#{id.id2name}'" : "")
  end