Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command where #4

Open
angal opened this issue Nov 25, 2009 · 1 comment
Open

command where #4

angal opened this issue Nov 25, 2009 · 1 comment

Comments

@angal
Copy link

angal commented Nov 25, 2009

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)

@angal
Copy link
Author

angal commented Nov 25, 2009

sorry I put it in the wrong place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant