Is it possible to view variables, passed as arguments in function, if class was compiled without debug flag? I successfully put breakpoint on call, but after that i don't know how to view arguments value. I don't have good source code, soft is obsuficated. Function like this: void a(int var1, boolean var2) - so, i want print var1 & print var2.
Compile code with javac -g MyClass.java
. This will allow you to watch local variables when using jdb MyClass
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