Are you sure this is a Haml issue? The debugger works find with Haml on the command line. Have you tested this with ERB?
2009/6/8 Bradley Grzesiak <listro...@gmail.com> > While I might agree that it would be annoying to have any part of an > application immune to debugger calls, the view is the least important area > for it. > > Using the debugger immediately before leaving the controller should > suffice, assuming you adhere to strict no-code-in-the-view standards and > have full test coverage of your helpers. > > ...just sayin'. > > :brad > > On Mon, Jun 8, 2009 at 11:14 AM, Dan Z <danielza...@gmail.com> wrote: > >> >> 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. >> >> >> > > > -- > Bradley Grzesiak > listro...@gmail.com > http://toleoandbeyond.blogspot.com > > * You have received an email from my personal account. Please do not > divulge this address to any website (eg: evite, shutterfly, etc). I have > another address for such uses; please ask me for it. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to haml@googlegroups.com To unsubscribe from this group, send email to haml+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---