How to realize Evaluation calculation by IDEA Debug
This article will explain in detail how to realize the evaluation calculation of IDEA Debug. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
Evaluation calculation
Evaluation function in our debug process, we can easily view the value of all variables in the program, but also temporarily modify the value of variables in the program, this function can help us to debug the code to a certain extent.
This feature can be turned on in the debug window during debug:
After opening it, it looks like this:
Then you can enter the actions you want in the expression input box, such as viewing variables, modifying variables (temporarily), calling a method, etc.; the results of these actions will be output in the Result window below.
This is the end of the article on "how to realize the evaluation calculation of IDEA Debug". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.