A variable defined within a function or block. During debugging, locals are inspected to track algorithm state. MetaEditor’s debugger automatically shows local variables in the Watch pane when paused. In c#, Visual Studio displays local variables in the Autos or Locals windows at breakpoints. Keeping an eye on locals often reveals logic bugs.