If you want to change the value of the primitive instance we can change by using variables tab.
or else we can change the value by using "Display" window.
In Variable tab we can see the all the object and instance of the current thread.
Press (Cntl+f) and type the variable name you want to change the value.
Then click on the right side of the variable and change the value.
Note : By this way we can only change the value of primitive data type. We cannot change the object reference.
In Display window you can write the value to be change and select the line and press (ctrl+u).
If I have the String l_sValue = "World"; if i want to change the String l_sValue = "Change the World";
l_sValue = "Change the World"; copy this line and press (ctrl+u)
Note : By this we can do change both primitive and object reference.
or else we can change the value by using "Display" window.
In Variable tab we can see the all the object and instance of the current thread.
Press (Cntl+f) and type the variable name you want to change the value.
Then click on the right side of the variable and change the value.
Note : By this way we can only change the value of primitive data type. We cannot change the object reference.
In Display window you can write the value to be change and select the line and press (ctrl+u).
If I have the String l_sValue = "World"; if i want to change the String l_sValue = "Change the World";
l_sValue = "Change the World"; copy this line and press (ctrl+u)
Note : By this we can do change both primitive and object reference.
No comments:
Post a Comment