Bug #1160
tracer attempts to show lines from binary files
| Status: | Closed | Start date: | 02/15/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | ext | |||
| Target version: | 1.9.2 | |||
| ruby -v: | ruby 1.9.0 (2008-11-15 revision 20237) [i386-mingw32] |
Description
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
Associated revisions
* lib/tracer.rb: no show lines unkonwn line number. [ruby-core:22096],
no trace display c-call and c-return as default.
History
Updated by yugui (Yuki Sonoda) almost 3 years ago
- Category set to ext
- Assignee set to keiju (Keiju Ishitsuka)
- Priority changed from Low to Normal
- Target version set to 1.9.2
Updated by keiju (Keiju Ishitsuka) almost 3 years ago
- Status changed from Open to Closed
行番号が0の場合は?を表示するようにしました。