0

what is the command to go inside a function using ruby-debug? Example

class Hello
  def meth1
    debugger
    meth2
  end

  def meth2
    puts "hello"
  end
end

I want to go inside the meth2 and see the execution.Need similar commands like n(next),c(continue),l(current line)

jvnill
  • 29,479
  • 4
  • 83
  • 86
yednamus
  • 582
  • 1
  • 4
  • 22

1 Answers1

1

I don't think you searched very hard since Google had a number of useful pages.

Perhaps you'll find "Debugging with ruby-debug" useful, especially Step, Next and Finish.

the Tin Man
  • 158,662
  • 42
  • 215
  • 303