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?
You may be able to use JRuby to drive your own debugger via the JPDA API.
Check out jdiscript; it's a thin scripting frontend for the JDI that can be used with Java, JRuby, or any other jvm language.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With