How to script the java debugger command-line tool (jdb)?

前端 未结 2 1876
感动是毒
感动是毒 2020-12-18 14:06

How can I drive the debugging session with some scripting language like ruby? Is there any easier options than using Expect or some similar module with a scripting language?

2条回答
  •  [愿得一人]
    2020-12-18 15:01

    Check out jdiscript; it's a thin scripting frontend for the JDI that can be used with Java, JRuby, or any other jvm language.

提交回复
热议问题