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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You may be able to use JRuby to drive your own debugger via the JPDA API.
回答2:
Check out jdiscript; it's a thin scripting frontend for the JDI that can be used with Java, JRuby, or any other jvm language.