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

前端 未结 2 1859
感动是毒
感动是毒 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.

    0 讨论(0)
  • 2020-12-18 15:04

    You may be able to use JRuby to drive your own debugger via the JPDA API.

    0 讨论(0)
提交回复
热议问题