mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00

- add org.eclipse.cdt.debug.application plugin which supports running CDT debugger as Eclipse application - add org.eclipse.cdt.debug.application.docs plugin which is the modified CDT docs - add org.eclipse.cdt.debug.standalone-feature which bundles the two aforementioned plugins - add org.eclipse.cdt.debug.standlone.source-feature Change-Id: I1a1ae855ab3912e678b7d9e3465e2fbbfe949e13 Reviewed-on: https://git.eclipse.org/r/25845 Reviewed-by: Jeff Johnston <jjohnstn@redhat.com> Tested-by: Jeff Johnston <jjohnstn@redhat.com>
62 lines
No EOL
1.9 KiB
HTML
62 lines
No EOL
1.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<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>Working with variables</title>
|
|
<link rel="stylesheet" type="text/css" href="../help.css">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div role="main"><h1>Working with variables</h1>
|
|
|
|
<p>During a debug session, you can display variable types, and change
|
|
or disable variable values.</p>
|
|
|
|
<p>To display variable type names:</p>
|
|
|
|
<ul>
|
|
<li>In Variables view, click the <strong>Show Type Names</strong> toggle button.</li>
|
|
</ul>
|
|
|
|
<p>To change a variable value while debugging:</p>
|
|
|
|
<p>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.</p>
|
|
|
|
<ol>
|
|
<li>In Variables view, right-click a variable, and select <strong>Change Value</strong>.</li>
|
|
<li>Type a value.</li>
|
|
</ol>
|
|
|
|
<p>To disable a variable value while debugging:</p>
|
|
|
|
<p>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.</p>
|
|
|
|
<ul>
|
|
<li>In Variables view, right-click a variable, and select <strong>Disable</strong>.</li>
|
|
</ul>
|
|
|
|
<p><img 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 src="../images/ngtasks.gif" ALT="Related tasks" width="143" height="21">
|
|
<br>
|
|
<a href="cdt_o_debug.htm">Debugging</a></p>
|
|
<p><img src="../images/ngref.gif" ALT="Related reference" width="143" height="21">
|
|
<br>
|
|
<a href="../reference/cdt_o_dbg_view.htm">Debug views</a></p>
|
|
|
|
<p>
|
|
<img src="../images/ng00_04a.gif" ALT="IBM Copyright Statement" >
|
|
|
|
</div></body>
|
|
|
|
</html> |