title: Alternative to Scala REPL breakIf in 2.10
body: <p>I was reading <a href="https://stackoverflow.com/questions/2160355/drop-into-interpreter-during-arbitrary-scala-code-location">here</a> about using the <code>breakIf</code> method in the REPL code for interactive debugging, but then I found <a href="https://issues.scala-lang.org/browse/SI-6435" rel="nofollow noreferrer">this post</a> saying that <code>break</code> and <code>breakIf</code> were removed from <code>ILoop</code> in Scala 2.10. Unfortunately, that post doesn't explain <em>why</em> the code was removed. </p>
  
  <p>I'm assuming that these functions were removed because there's a better way of doing this. If that's the case, could someone please enlighten me?</p>