[ruby-cvs:73108] ko1:r66008 (trunk): `TracePoint#enable(target_line:)` is supported. [Feature #15289]

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Nov 27 05:16:14 JST 2018


ko1	2018-11-27 05:16:14 +0900 (Tue, 27 Nov 2018)

  New Revision: 66008

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66008

  Log:
    `TracePoint#enable(target_line:)` is supported. [Feature #15289]
    
    * vm_trace.c: `TracePoint#enable(target_line:)` is supported.
      This option enables a hook only at specified target_line.
      target_line should be combination with target and :line event.

  Modified files:
    trunk/iseq.c
    trunk/iseq.h
    trunk/prelude.rb
    trunk/test/ruby/test_settracefunc.rb
    trunk/vm_core.h
    trunk/vm_trace.c


More information about the ruby-cvs mailing list