Hi, on ruby-debug19 (0.11.6) the command "where" repeat the same file into the stack:
[antonio@xxiaprile ~]$ rdebug work/gits/arcadia/bin/arcadia
/home/antonio/work/gits/arcadia/bin/arcadia:6
$pwd = Dir.pwd
(rdb:1) n
/home/antonio/work/gits/arcadia/bin/arcadia:7
Dir.chdir("#{File.dirname(FILE)}/..")
(rdb:1) n
/home/antonio/work/gits/arcadia/bin/arcadia:8
if FileTest.exist?('conf/arcadia.init.rb')
(rdb:1) n
/home/antonio/work/gits/arcadia/bin/arcadia:9
require 'conf/arcadia.init'
(rdb:1) l
[4, 13] in /home/antonio/work/gits/arcadia/bin/arcadia
4 # by Antonio Galeone antonio-galeone@rubyforge.org
5 #
6 $pwd = Dir.pwd
7 Dir.chdir("#{File.dirname(FILE)}/..")
8 if FileTest.exist?('conf/arcadia.init.rb')
=> 9 require 'conf/arcadia.init'
10 end
11 require "lib/a-core"
12 Arcadia.new.run
(rdb:1) s
/home/antonio/work/gits/arcadia/conf/arcadia.init.rb:2
load_ok=true
(rdb:1) l
[-3, 6] in /home/antonio/work/gits/arcadia/conf/arcadia.init.rb
1 # In this file init configuration
=> 2 load_ok=true
3 if load_ok
4 begin
5 require 'rubygems' # for a few dependencies
6 rescue LoadError => e
(rdb:1) w
--> #0 at line /home/antonio/work/gits/arcadia/bin/arcadia:2
1 at line /home/antonio/work/gits/arcadia/bin/arcadia:9
Hi, on ruby-debug19 (0.11.6) the command "where" repeat the same file into the stack: [antonio@xxiaprile ~]$ rdebug work/gits/arcadia/bin/arcadia /home/antonio/work/gits/arcadia/bin/arcadia:6 $pwd = Dir.pwd (rdb:1) n /home/antonio/work/gits/arcadia/bin/arcadia:7 Dir.chdir("#{File.dirname(FILE)}/..") (rdb:1) n /home/antonio/work/gits/arcadia/bin/arcadia:8 if FileTest.exist?('conf/arcadia.init.rb') (rdb:1) n /home/antonio/work/gits/arcadia/bin/arcadia:9 require 'conf/arcadia.init' (rdb:1) l [4, 13] in /home/antonio/work/gits/arcadia/bin/arcadia 4 # by Antonio Galeone antonio-galeone@rubyforge.org 5 # 6 $pwd = Dir.pwd 7 Dir.chdir("#{File.dirname(FILE)}/..") 8 if FileTest.exist?('conf/arcadia.init.rb') => 9 require 'conf/arcadia.init' 10 end 11 require "lib/a-core" 12 Arcadia.new.run (rdb:1) s /home/antonio/work/gits/arcadia/conf/arcadia.init.rb:2 load_ok=true (rdb:1) l [-3, 6] in /home/antonio/work/gits/arcadia/conf/arcadia.init.rb 1 # In this file init configuration => 2 load_ok=true 3 if load_ok 4 begin 5 require 'rubygems' # for a few dependencies 6 rescue LoadError => e (rdb:1) w --> #0 at line /home/antonio/work/gits/arcadia/bin/arcadia:2
1 at line /home/antonio/work/gits/arcadia/bin/arcadia:9
(rdb:1)