Sha256: dd09a02378c397aa85ca311c1b8234f648d18c2f2b0cb94d65306a1343ae32a5

Contents?: true

Size: 258 Bytes

Versions: 6

Compression:

Stored size: 258 Bytes

Contents

byebug

@should_break = false

t = Thread.new do
  while !@should_break
    A.new.a
    sleep 0.1
  end
end

class A
  def a
    b
  end
  def b
    c
    2
  end
  def c
    d('a')
    3
  end
  def d(e)
    5
  end
end

A.new.a
@should_break = true
t.join

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
byebug-1.1.0 test/examples/frame_threads.rb
byebug-1.0.3 test/examples/frame_threads.rb
byebug-1.0.2 test/examples/frame_threads.rb
byebug-1.0.1 test/examples/frame_threads.rb
byebug-1.0.0 test/examples/frame_threads.rb
byebug-0.0.1 test/examples/frame_threads.rb