diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-26 15:33:14 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-26 15:33:14 +0000 |
commit | 4adce79fa2410fef8b5c32c7c747757c2a580ebb (patch) | |
tree | 24db3f63d9110f02666419f5d4b3351b42f59603 /lib | |
parent | 618bda1d9b64b4c1287fe3642946912f708a1250 (diff) |
merges r24226 from trunk into ruby_1_9_1.
--
* lib/tracer.rb: no show lines unkonwn line number. [ruby-core:22096],
no trace display c-call and c-return as default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@24293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tracer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tracer.rb b/lib/tracer.rb index 76a8723ff0..9d197a638a 100644 --- a/lib/tracer.rb +++ b/lib/tracer.rb @@ -125,7 +125,7 @@ class Tracer line, klass || '', EVENT_SYMBOL[event], - get_line(file, line)) + line == 0 ? "?\n" : get_line(file, line)) # Thread.critical = saved_crit end |