代码之家  ›  专栏  ›  技术社区  ›  ThomasH

有Scala命令行调试器吗?

  •  10
  • ThomasH  · 技术社区  · 16 年前

    有Scala命令行调试器(lajdb)吗?

    2 回复  |  直到 16 年前
        1
  •  3
  •   ThomasH    9 年前

    老问题,但这里是sdb,它是使用Ensime调试器api用Scala编写的jdb克隆: https://github.com/ensime/scala-debugger/releases/tag/v1.1.0-M3

    和sbt插件: https://github.com/ensime/scala-debugger/releases/tag/v1.1.0-M3-2

        2
  •  1
  •   Pramit    10 年前

    调试Scala解释器(REPL)是否没有帮助?一种更酷的测试代码的方法是通过sbt REPL。

    1. sbt
    2. console
    3. scala ( for Scala REPL ); [cntrl d] to get back to sbt REPL
    4. compile
    5. test, if you have unit-tests to test code
    6. run If one has an object with a main method (or an object extending
       the trait App 
    
    推荐文章