Adding a watch is similar to QuickWatch, but it is more useful when you have multiple variables to analyze, and looking at each variable's value can take a lot of time.
Follow these steps to add a watch on variables:
- Right-click on the variable and click Add Watch:
- This will add the variable to watch and show you its value always, as well as reflect any time it changes at runtime.
- You can also see these variable values in a particular format for different data types, so you can have an XML value shown in XML format, or a JSON object value shown in .json format:
- It is a lifesaver when you want to evaluate a variable's value ...