Project

General

Profile

Bug #1160

tracer attempts to show lines from binary files

Added by rogerdpack (Roger Pack) over 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.0 (2008-11-15 revision 20237) [i386-mingw32]
Backport:
[ruby-core:22096]

Description

=begin
This file:
require 'tracer'
Tracer.on
def go
# uncomment to show same error in 1.8.7
#require 'thread.so'
require 'readline.so'
eval("3==3")
end
go

outputs some garbage to stdout on the require 'readline.so' line.

Also some questions on tracer:
if I run ruby 1.8.7
ruby -rtracer some_prog
it outputs trace by default
however with 1.9
ruby -rtracer some_prog
does NOT output trace by default.
Any ideas?

Thanks!
-=r
=end

#1

Updated by yugui (Yuki Sonoda) over 11 years ago

  • Category set to ext
  • Assignee set to keiju (Keiju Ishitsuka)
  • Priority changed from 3 to Normal
  • Target version set to 1.9.2

=begin

=end

#2

Updated by keiju (Keiju Ishitsuka) over 11 years ago

  • Status changed from Open to Closed

=begin
行番号が0の場合は?を表示するようにしました。
=end

Also available in: Atom PDF