Here's what happens when the debugger is called (anywhere) while the
Haml template is being processed:
INTERNAL ERROR!!! wrong argument type StringIO (expected File)
/var/lib/gems/1.8/gems/ruby-debug-0.10.3/cli/ruby-debug/interface.rb:
112:in `readline'
/var/lib/gems/1.8/gems/ruby-debug-0.10.3/cli/ruby-debug/interface.rb:
112:in `readline'
/var/lib/gems/1.8/gems/ruby-debug-0.10.3/cli/ruby-debug/interface.rb:
62:in `read_command'
/var/lib/gems/1.8/gems/ruby-debug-0.10.3/cli/ruby-debug/processor.rb:
246:in `process_commands'
/var/lib/gems/1.8/gems/ruby-debug-0.10.3/cli/ruby-debug/processor.rb:
171:in `__at_line'
(eval):5:in `at_line'
(eval):3:in `synchronize'
(eval):3:in `at_line'
/var/lib/gems/1.8/gems/ruby-debug-base-0.10.3/lib/ruby-debug-base.rb:
54:in `at_line'
[ backtrace continues in my application code ]
This is a very annoying problem because almost all my templates are
Haml, and therefore, I can't debug any code that's run while inside
the template.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---