Controlling the display of variables

You can prevent the debugger from reading the value of variables from the target. You might use this feature for variables that are either very sensitive or specified as volatile. This can also improve your program's performance.
To enable or disable a variable:
  1. Open the Variables view.
  2. Right-click the variable and select either Enable or Disable. You can disable all the variables in your launch configuration. See the Debugger tab section in the Launch Configurations Reference chapter.
Related concepts
Using breakpoints and watchpoints
Inspecting your registers
Inspecting a process's memory
Inspecting shared-library usage
Monitoring signal handling
Viewing your output
Interacting with GDB
Related tasks
Inspecting variables
Changing variable values
Changing variable to a different type
Viewing variables in memory
Evaluating your expressions