tags:

views:

358

answers:

1

Is there a Scala command-line debugger (a la jdb)?

+4  A: 

I don't believe that one specific to Scala exists. However I understand that JSwat works nicely.

Brian Agnew
I found this quote that confirms your proposition: "Another benefit of the fact that Scala runs on the JVM is that I am able to use my favorite Java debugger, jswat. It's not perfect, and single-stepping through code often jumps around and takes a bit of getting used to, but overall it works surprisingly well given that JSwat was not designed for debugging Scala code." (http://jim-mcbeath.blogspot.com/2008/07/mixing-java-and-scala.html). But it's over a year old, so there might be newer information.
ThomasH
JSwat looks like a GUI debugger, while OP wants to command his line.
HRJ
That's right. But they have an additional "cli" download, so maybe that goes into the right direction.
ThomasH