[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sup-talk] Hints on debugging hooks



Hi, I'm new to Sup.  (I can code Ruby, a bit, but I'm finding the source hard to read, so configuration is going slower than I would like. It's me, not you...)

Can someone give me some hints on debugging hooks? For example, is there an easy way to get just one message object in the console, so I can play with it?  

Is it true that the before-add-message hook can die silently if my code is bad?  Will wrapping my code in begin ... rescue ... end guarantee that this doesn't happen?

Ta. 

-- 
"All snakes who wish to remain in Ireland will please raise their right hands."
		-- Saint Patrick
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk