ruby-debug / debase

BSD 2-Clause "Simplified" License
209 stars 32 forks source link

Debugger stops only on 1st breakpoint inside a Fiber block and ignores all subsequent ones #96

Open klobuczek opened 2 years ago

klobuczek commented 2 years ago

In ruby 3.1.1 the debugger stops only on 1 line in code like below:

Fiber.new do
   puts 1
   puts 2
end.resume

So if I put 2 breakpoints inside the block at the lines containing puts the 2nd breakpoint is ignored. https://youtrack.jetbrains.com/issue/RUBY-29456