Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Scala command-line debugger?

Tags:

scala

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

like image 396
ThomasH Avatar asked Dec 14 '09 11:12

ThomasH


People also ask

How do I debug a command line?

Specifies command line information required by the file you want to test. After debug starts, type "?" to display a list of debugging commands. To get out of debugging mode, you need to type "Q" and press Enter . To execute the debug routine, you need to type "G" and press Enter .

How do I run a Scala script?

Another way to execute Scala code is to type it into a text file and save it with a name ending with “. scala”. We can then execute that code by typing “scala filename”. For instance, we can create a file named hello.


1 Answers

Old question, but here is sdb, which is a jdb clone written in Scala using the Ensime debugger api: https://github.com/ensime/scala-debugger/releases/tag/v1.1.0-M3

And the sbt plugin: https://github.com/ensime/scala-debugger/releases/tag/v1.1.0-M3-2

like image 185
Senkwich Avatar answered Sep 28 '22 03:09

Senkwich