Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse C/C++ Developer Guide
Previous Page Home Next Page

Working with variables

During a debug session, you can display variable types, and change or disable variable values.

To display variable type names:

  • In Variables view, click the Show Type Names toggle button.

To change a variable value while debugging:

During a debug, you can change the value of a variable to test how your program handles a particular value or to speed through a loop.

  1. In Variables view, right-click a variable, and select Change Value.
  2. Type a value.

To disable a variable value while debugging:

You can disable a variable so that the debugger does not read the variable's value from the target. This is useful if the target is very sensitive or the variable is specified as volatile.

  • In Variables view, right-click a variable, and select Disable.

Related concepts
C/C++ Development perspective

Related tasks

Related reference
Debug views

IBM Copyright Statement

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire