debugging episodes
#104
May 05, 2008
26 comments
Exception Notifications
If you're running a production site, it's a good idea to record all exceptions which occur. See how to set up a notification system which does that in this episode.
Logging Variables
Have you ever wanted to easily log all variables? Now you can by using some advanced Ruby concepts as shown in this episode.
Debugging with ruby-debug
This episode will show you how to debug a rails app using ruby-debug: set a breakpoint, inspect variables, change the code and more.
Debugging RJS
RJS and AJAX can be difficult to debug. Many times you don't get any error message in the browser. Learn different techniques for solving these tricky problems in this episode.
The Stack Trace
The stack trace can be a very useful tool when it comes to debugging. Learn the ins and outs of how the stack trace works in this episode. Note: I am using an older version of the Rails bundle here so it might be a little different than yours. The command in the newer version is called Install Plugin and requires you to type textmate_footnotes in the search.




