Skip to content

Instantly share code, notes, and snippets.

@jasonLaster
Created July 31, 2012 21:43
Show Gist options
  • Save jasonLaster/3220859 to your computer and use it in GitHub Desktop.
Save jasonLaster/3220859 to your computer and use it in GitHub Desktop.
```
debugger.rb:21
a
(rdb:1) s
debugger.rb:4
b
(rdb:1)
debugger.rb:8
c
(rdb:1)
debugger.rb:12
d
(rdb:1) where
--> #0 Object.c at line debugger.rb:12
#1 Object.b at line debugger.rb:8
#2 Object.a at line debugger.rb:4
#3 at line debugger.rb:21
(rdb:1) up
#1 Object.b at line debugger.rb:8
(rdb:1) finish
```
require 'debugger'
def a
b
end
def b()
c
end
def c()
d
end
def d()
"foo"
end
debugger
a
@jasonLaster
Copy link
Author

require 'debugger'

def a
    b 
    "foo"
end

def b()
    c 
    "foo foo"
end

def c()
    d 
    "foo foo foo"
end

def d()
    "foo foo foo foo"
end


debugger
a
"fuck bar"

@jasonLaster
Copy link
Author

I call this the christmas tree of FOO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment