This page is no longer maintained — Please continue to the home page at www.scala-lang.org

2.8.0 REPL Debugging

1 reply
efleming969
Joined: 2009-01-04,
User offline. Last seen 3 years 22 weeks ago.
There is mention of a breakif feature in the 2.8 REPL, but I can't find it or any information on how to use it.

Does anyone know about this?
extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.
Re: 2.8.0 REPL Debugging

On Fri, Nov 06, 2009 at 10:34:23AM -0600, Erick Fleming wrote:
> There is mention of a breakif
> feature in the 2.8 REPL, but I can't find it or any information on how
> to use it.

Its usefulness was kind of shattered when the collections were
rewritten, but it's going to make a storming comeback with the help of
manifests. However right now I'd be surprised if it works. Try it by
calling scala.tools.nsc.Interpreter.break(p1, p2, ...) or look around
that object for other possible invocations.

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland