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

Adding expressions

You can add and view expressions in the Expressions view. The Expressions view is part of the Debug perspective.

To add an expression:

  1. Select Add Watch Expression in the context menu of the Expressions view.
  2. Type the expression that you want to evaluate. For example, (x-5)*3 .
  3. Click OK.

    The expression and its value appear in the Expressions view. When the execution of a program is suspended, all expressions are reevaluated.

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