Is there any advantage of using watch instead of break point to debug the code? Which are?
When you have to check the value of five variables at once, or the state of the instance executing your logic, or properties of properties properties, you will notice the value of watch
. >
Is there a situation where watch-only use is really necessary?
You will never be able to use watch
if you are not in debug mode. The closest of this, when you are not in debug mode, is to use some form of logging to save a history of the values of the variables as the code runs. But this generates garbage in storage over time.