From: SASADA Koichi Date: 2011-06-10T22:44:36+09:00 Subject: [ruby-core:36928] Re: [Ruby 1.9 - Bug #4583][Open] trace doesn't work for methods set up by attr_* Hi, (2011/04/17 11:44), redmine@ruby-lang.org wrote: > Methods set up with (({attr_accessor})) or alike are not traceable: > > class Foo > attr_writer :bar > def baz=(value) > @baz = value > end > end > > set_trace_func proc{|*args| puts args.inspect} > @foo = Foo.new # will be traced > @foo.bar = 'bar' # call to bar= will not be traced > @foo.baz = 'baz' # call to baz= will be traced > > Expected behavior: "c-call" and "c-return" are traced. This is because performance issue. I *want* to ignore your request. Any real problem? -- // SASADA Koichi at atdot dot net