From mboxrd@z Thu Jan 1 00:00:00 1970 From: johnbent@lanl.gov (John Bent) Date: Wed, 23 Jan 2008 13:22:25 -0700 Subject: [sup-talk] debugging hooks Message-ID: <1201119592-sup-2472@tangerine.lanl.gov> I seem to have a ruby bug in my before-add-message.rb hook. When new messages are loaded, I see a very quickly displayed error message about the hook. Is this same error written to a file anywhere because it flashes too quickly for me to read it? I tried just directly executing the before-add-message.rb code with ruby but of course it complains that message is undefined. What is the best way to debug hooks? Thanks, John