我试图在Rails应用程序中使用
ruby调试器.
为了显示堆栈跟踪,我需要在(rdb:1)提示符下键入什么命令?我尝试过回溯,但它只列出了最顶层的帧.
解决方法
http://apidock.com/ruby/Kernel/caller
caller(0) # Returns the stack trace,omitting 0 initial entry.