Ben*_*ier 13 debugging ruby-on-rails-3 pry
该撬调试器是非常有用的.它具有以下命令:
Pry.commands.alias_command 'c', 'continue'
Pry.commands.alias_command 's', 'step'
Pry.commands.alias_command 'n', 'next'
Pry.commands.alias_command 'f', 'finish'
Run Code Online (Sandbox Code Playgroud)
但是,我不知道如何踏入.也就是说,当调用一个函数时,我希望调试器打开这个函数并显示它的执行情况.
我怎样才能做到这一点 ?
Ben*_*ier 14
正如你所说@deivid,step步入,然后是next下一步.我误解了.