Is there a way to get the values on the call stack, not just the methods trace?
This interface looks relevant: https://docs.oracle.com/javase/8/docs/jdk/api/jpda/jdi/com/sun/jdi/StackFrame.html Also related: https://stackoverflow.com/questions/41715532/how-to-check-the-jitted-java-method-parameters-from-the-jvm-core-dump-through-as -> https://stackoverflow.com/questions/38931255/change-variable-value-in-jvm-with-gdb/38947442#38947442
Debuggers do this.
Which is based on some underlying JVM APIs
So good luck to me learning the jvmdi? 😄