Thursday, August 30, 2018

How to change the value of a variable while debugging Java code in NetBeans

To change the value of the primitive variables and Strings in-place in the Value column of Variables window. To change values of Object variables, you can use "Evaluate Expression..." under menu Debug option.