views:

454

answers:

2

I'm experimenting with using jEdit as my main editor for writing Scala code.

Along side jEdit I'm using Apache Buildr and DTerm. This all works well, except I'm really not sure how I would go about debugging Scala application outside of a large IDE?

Are there recommended practices/tools for debugging outside of an IDE?

+3  A: 

I am not sure you can debug entirely through the CLI. Any Java-based debug tool should be enough.

This SO question mentions jswat, which also has a console mode.
It is used in this blog entry and can be installed quite easily as illustrated here.

VonC
+4  A: 

Rather than using a debugger, you could run the interpreter (aka REPL) from a point in your application. You can find detailed instructions here

retronym
+1 for interesting :) Never thought of using the interpreter like that before.
Brian Heylin