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 Answers
2 Comments
JtR
Are you aware of any simple examples of this?
McDowell
No, but: Using JPDA in Java: illegalargumentexception.blogspot.com/2009/03/… Calling Java from Ruby: wiki.jruby.org/wiki/Calling_Java_from_JRuby
Check out jdiscript; it's a thin scripting frontend for the JDI that can be used with Java, JRuby, or any other jvm language.