ruby-debug / ruby-debug-ide

An interface which glues ruby-debug to IDEs like Eclipse (RDT), NetBeans and RubyMine.
https://www.jetbrains.com/ruby/features/ruby_debugger.html
Other
371 stars 83 forks source link

Create alias for Timeout.timeout during eval execution #114

Closed ViugiNick closed 6 years ago

ViugiNick commented 7 years ago

While the debugger is on the breakpoint all threads are stopped. Therefore, the new thread, which is spawned by the timeout, is also stopped. So we replace the timeout with our timeout, which use DebugThreads instead of regular Threads. https://youtrack.jetbrains.com/issue/RUBY-17930