Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
Windows such as the Locals and Watch windows allow us to inspect the state of the application while debugging.
Locals Window
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)
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up