diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/tracer.rb | 2 | ||||
| -rw-r--r-- | version.h | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Tue Jul 21 20:41:20 2009 Keiju Ishitsuka <keiju@emperor2.pendome> + + * lib/tracer.rb: no show lines unkonwn line number. [ruby-core:22096], + no trace display c-call and c-return as default. + Tue Jul 21 16:07:57 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/tracer.rb: toplevel caller exists now. [ruby-core:24454] 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 @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.1" -#define RUBY_PATCHLEVEL 250 +#define RUBY_PATCHLEVEL 251 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 |
