mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
TracePoint#enable(target_thraed:)
[Feature #15473]
* vm_trace.c (tracepoint_enable_m): `TracePoint#enable` supports `target_thread:` keyword to filter a target thread. [Feature #15473] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fd7d4a871c
commit
94f4a0e91e
3 changed files with 54 additions and 4 deletions
|
@ -133,8 +133,8 @@ class IO
|
|||
end
|
||||
|
||||
class TracePoint
|
||||
def enable target: nil, target_line: nil, &blk
|
||||
self.__enable target, target_line, &blk
|
||||
def enable target: nil, target_line: nil, target_thread: nil, &blk
|
||||
self.__enable target, target_line, target_thread, &blk
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue