Project

General

Profile

Actions

Bug #1160

closed

tracer attempts to show lines from binary files

Added by rogerdpack (Roger Pack) almost 16 years ago. Updated over 13 years ago.

Status:
Closed
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

Actions #1

Updated by yugui (Yuki Sonoda) over 15 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

Actions #2

Updated by keiju (Keiju Ishitsuka) over 15 years ago

  • Status changed from Open to Closed

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

Actions

Also available in: Atom PDF

Like0
Like0Like0