pry/pry-stack_explorer — Issue #2: it should work across thread creation boundaries
Author: dominikh
Created: 2012-02-17 00:01:41+00:00
State: open

Imagine the following code:

```ruby
require "pry-stack_explorer"

def a
b
end

def b
Thread.new { c }.join
end

def c
d
end

def d
binding.pry
end

a
```

Currently, stack_explorer will only be able to display the last three steps of the stack (in methods `d`, `c` and `b`). It does not know how we got into `b` though:

```
Showing all accessible frames in stack (3 in total):
--
=> #0 [method] d
#1 [method] c
#2 [block] block in b
```