Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/ruby-debug-ide/xml_printer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,8 @@ def print_string(string)
end

def exec_with_allocation_control(value, memory_limit, time_limit, exec_method, overflow_message_type)
return value.send exec_method if(RUBY_VERSION < '2.0')

check_memory_limit = true
if (defined?(JRUBY_VERSION) || ENV['DEBUGGER_MEMORY_LIMIT'].to_i <= 0)
check_memory_limit = false
Expand Down