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)
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
.