Skip to main content

All Questions

3 votes
1 answer
303 views

How to get jdb-like features (setting breakpoints or displaying vars) in sbt or REPL for Scala?

Rather than opening up jdb is there a way to get similar functionality within the repl or sbt session? The features I am seeking: ability to define breakpoints: :bp mySource.scala:79 // stop at ...
WestCoastProjects's user avatar
1 vote
1 answer
1k views

Scala REPL crashes when started using scala.tools.nsc.interpreter

I'm trying to use scala.tools.nsc.interpreter to enable interactive debugging (like Python's pdb/ipdb): val foo = 123 import scala.tools.nsc.Settings import scala.tools.nsc.interpreter.{ ILoop, ...
Erik Kaplun's user avatar
  • 38.3k
8 votes
1 answer
8k views

Eclipse Scala interpreter (REPL) - proper use and debugging

I would like to know what are best practises of using Eclipse Scala interpreter (Eclipse Scala IDE). Let's say I have application with breakpoint in it. Is it possible to debug an application in such ...
PrimosK's user avatar
  • 13.9k