carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/tasks/cdt_t_expressions.htm
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html lang="en">

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Adding expressions</title>
<link rel="stylesheet" type="text/css" href="../help.css">
</head>

<body>

<h1>Adding expressions</h1>

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

<p>To add an expression:</p>

<ol>
  <li>Select <b>Add Watch Expression</b> in the context menu of the Expressions view.</li>
  <li>Type the expression that you want to evaluate. For example, (x-5)*3 .</li>
  <li><p>Click <b>OK</b>.</p><p>The expression and its value appear in the 
  Expressions view. When the execution of a program is suspended, all expressions 
  are reevaluated.</p></li>
</ol>

<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
<br>
<a href="../concepts/cdt_c_over_cdt.htm">C/C++ Development perspective</a><br>
</p>
<p><img border="0" src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
<br>
<a href="cdt_o_debug.htm">Debugging</a></p>
<p><img border="0" src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
<br>
<a href="../reference/cdt_o_dbg_view.htm">Debug views</a></p>
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >

</body>

</html>