module Byebug::Helpers::EvalHelper

def allowing_other_threads


will get blocked by byebug's main thread.
creating new threads won't be properly evaluated because new threads
Used to evaluate stuff within Byebug's prompt. Otherwise, any code

Run block temporarily ignoring all TracePoint events.
def allowing_other_threads
  Byebug.unlock
  res = yield
  Byebug.lock
  res
end