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

set evaluation timeout for child processes #123

Closed ViugiNick closed 7 years ago

ViugiNick commented 7 years ago

For child processes, there was no evaluation timeout. In particular, because of this, when you try to eval something in a subprocess, the following exception is raised: can not convert nil into Integer. @printer.print_debug("Evaluating %s with timeout after %i sec", str, max_time(which is nil)) (https://youtrack.jetbrains.com/issue/RUBY-19948)

valich commented 7 years ago

Exception origin: https://github.com/ruby-debug/ruby-debug-ide/blob/master/lib/ruby-debug-ide/command.rb#L124