On Mon, 2008-09-08 at 10:39 -0600, Andrew Shafer wrote:
> 
> I've been using a combination of GDB, DTrace, puts caller and puts
> 'WTF'
> 
> GDB can be like staring into the abyss.
> 
> DTrace seems the most powerful and promising, but a bit of a learning
> curve.
> 
> puts is primitive, but it works.
> 
> Would love to swap tips and tricks with anyone debugging Ruby in
> general and Puppet in specific.

I kinda like http://rubyforge.org/projects/ruby-debug/ for general
debugging, since it gives you a GDB like interface. Though often
old-school 'puts' is the easiest way to debug.

David




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to