1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer mode

only when caller() level size is one.  [ruby-core:07389]

* lib/rdoc/parsers/parse_rb.rb: need not to require "tracer".
  [ruby-core:07389]

* sample/rtags.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-02-18 15:38:56 +00:00
parent b070abfc20
commit 7bd38510a8
3 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,13 @@
Sat Feb 18 23:58:26 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer mode
only when caller() level size is one. [ruby-core:07389]
* lib/rdoc/parsers/parse_rb.rb: need not to require "tracer".
[ruby-core:07389]
* sample/rtags.rb: ditto.
Sat Feb 18 21:16:27 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* eval.c (rb_obj_instance_eval): RDoc description updated. a

View file

@ -13,7 +13,6 @@
# by Keiju ISHITSUKA (Nippon Rational Inc.)
#
require "tracer"
require "e2mmap"
require "irb/slex"

View file

@ -162,6 +162,6 @@ if $0 == __FILE__
ARGV.shift
Tracer.on
require $0
else
elsif caller(0).size == 1
Tracer.on
end