Permalink
Browse files

Turn on autolist for debugging also

  • Loading branch information...
jeremy committed Jun 19, 2009
1 parent 8b9b954 commit 22554745b7239eca19ea634feca4fcda517b3f97
Showing with 4 additions and 1 deletion.
  1. +4 −1 railties/lib/test_help.rb
@@ -29,7 +29,10 @@ def create_fixtures(*table_names, &block)
begin
require_library_or_gem 'ruby-debug'
Debugger.start
- Debugger.settings[:autoeval] = true if Debugger.respond_to?(:settings)
+ if Debugger.respond_to?(:settings)
+ Debugger.settings[:autoeval] = true
+ Debugger.settings[:autolist] = 1
+ end
rescue LoadError
# ruby-debug wasn't available so neither can the debugging be
end

0 comments on commit 2255474

Please sign in to comment.