RailsCasts中文版,#24 The Stack Trace 利用异常堆栈调试问题
程序运行中难免遇到异常,当系统抛出异常后,Rails会显示如下的一个页面。在开发过程中你经常会看到。

恩,在异常堆栈的指引下,我们找到了问题所在。如果你正在使用TextMate这里再附赠一个调试中可以使用的小窍门。一个名叫Rails Footnotes的插件可以将异常堆栈中显示的行变成链接,点击链接就可以直接打开对应的文件。可以在Rails应用的根目录执行下面的命令安装。(依赖git软件)。
git clone git://github.com/drnic/rails-footnotes.git vendor/plugins/footnotesrm -rf vendor/plugins/footnotes/.git
作者授权:Your welcome to post the translated text on your blog as well if the episode is free(not Pro). I just ask that you post a link back to the original episode on railscasts.com.
原文链接:http://railscasts.com/episodes/24-the-stack-trace