From: Marc Heiler Date: 2007-11-18T00:53:56+09:00 Subject: Re: Observe variable set and variable change > is there any kind of Ruby / C function with which it is possible to see > when a variable is set or changed? You can try trace_var (or whatever the name was) trace_var :$x, proc{print "$x is now ", $x, "\n"} -- Posted via http://www.ruby-forum.com/.