From 59024b0616f7e4092a3fbab317b5164ee7fdf44d Mon Sep 17 00:00:00 2001 From: yugui Date: Sun, 26 Jul 2009 15:33:14 +0000 Subject: 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/tracer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/tracer.rb b/lib/tracer.rb index 76a8723ff..9d197a638 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 -- cgit