Windows such as the Locals and Watch windows allow us to inspect the state of the application while debugging.
When debugging, the locals window will provide details about variables defined in the local scope of your breakpoint, typically meaning the current function/method being executed.
- Open the Locals Window via the menu (Debug > Windows > Locals)
Watch and QuickWatch Window
The Locals Window is nice, but what if we want to supply an expression or variable ourselves? With the Watch Window we can do just that.
- Open the Watch Window via the menu (Debug > Windows > Watch 1)
You need to sign up for Treehouse in order to download course files.Sign up