- vm_insnhelper.c (vm_call_bmethod): fix to hook call/return event for methods defined by define_method().
- thread.c (call_trace_proc): Fix to skip if class is not given (0). Note that ID and Class object are passed for call/return event if the called method was defined by define_method(). If you are author of tracer/profiler/debugger, this may be an important change. You should check passed class as zero or non-zero instead of checking the event type.
- test/ruby/test_settracefunc.rb: add a test for above.