Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] debugging hooks
@ 2008-01-23 20:22 John Bent
  2008-01-23 20:51 ` William Morgan
  0 siblings, 1 reply; 4+ messages in thread
From: John Bent @ 2008-01-23 20:22 UTC (permalink / raw)


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 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [sup-talk] debugging hooks
  2008-01-23 20:22 [sup-talk] debugging hooks John Bent
@ 2008-01-23 20:51 ` William Morgan
  2008-01-23 21:25   ` John Bent
  0 siblings, 1 reply; 4+ messages in thread
From: William Morgan @ 2008-01-23 20:51 UTC (permalink / raw)


Reformatted excerpts from John Bent's message of 2008-01-23:
> 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?

The messages should be reproduced in the log buffer. If you hit B you
can bring it up directly.

-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [sup-talk] debugging hooks
  2008-01-23 20:51 ` William Morgan
@ 2008-01-23 21:25   ` John Bent
  2008-01-23 22:01     ` William Morgan
  0 siblings, 1 reply; 4+ messages in thread
From: John Bent @ 2008-01-23 21:25 UTC (permalink / raw)


Excerpts from William Morgan's message of Wed Jan 23 13:51:46 -0700 2008:
> Reformatted excerpts from John Bent's message of 2008-01-23:
> > 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?
> 
> The messages should be reproduced in the log buffer. If you hit B you
> can bring it up directly.
> 
That did the trick.  Thanks a lot.  And thanks again for sup.  I'm so
happy to finally say good-bye to pine; I feel like I've finally entered
the correct century in terms of my email technology.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [sup-talk] debugging hooks
  2008-01-23 21:25   ` John Bent
@ 2008-01-23 22:01     ` William Morgan
  0 siblings, 0 replies; 4+ messages in thread
From: William Morgan @ 2008-01-23 22:01 UTC (permalink / raw)


Reformatted excerpts from John Bent's message of 2008-01-23:
> That did the trick.  Thanks a lot.  And thanks again for sup.  I'm so
> happy to finally say good-bye to pine; I feel like I've finally
> entered the correct century in terms of my email technology.

Well I wouldn't go that far. You're still using a console program, after
all. :)

-- 
William <wmorgan-sup at masanjin.net>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-01-23 22:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-23 20:22 [sup-talk] debugging hooks John Bent
2008-01-23 20:51 ` William Morgan
2008-01-23 21:25   ` John Bent
2008-01-23 22:01     ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox