<li>In the <b>Name</b> box, type <b>Hello World</b>.</li>
<p>You can now select this debug launch configuration by name the next time
that you debug this project.</p>
<li>In the <b>C/C++ Application</b> box, type <b>hello.exe</b>.</li>
<li>Click <b>Debug</b>.</li>
<p>The debug perspective the hello.exe application window open.
The C/C++ editor is repositioned in the perspective.</p>
<li>In the left margin of the main.cpp window, double-click to set a
breakpoint on:<br>
cout <<"You just entered"</li>
<li>Click <b>Run > Resume</b>.</li>
<li>When prompted, type a value other than 'm'.<br>
The breakpoint will be hit.</li>
<li>In the Variable view, verify that the variable is not 'm'.</li>
<li>Click <b>Run > Resume</b>.</li>
<li>When prompted, type a value other than 'm'.</li>
<p>The breakpoint will be hit.</p>
<li>In the <b>Variable</b> view, verify that the variable is not 'm'.</li>
<li>In the <b>Variable</b> view, right-click the input variable, and select <b>Change
Variable Value</b> and type <b>'m'</b>.</li>
<li>Click <b>Run > Resume</b>.</li>
<p>The output in the hello.exe application window is:<br>
"You just entered m, you need to enter m to exit."<li>Type <b>'m'</b> to end the program.<br>
The hello.exe application window closes and the debug session ends. The debug
perspective remains open.</li>
</ol>
<p>To learn more about the debug aids at your disposal, refer to the related
debug conceptual topics.</p>
<palign="left"><ahref="cdt_w_build.htm">
<imgborder="0"src="../images/ngback.gif"width="16"height="16"></a><b><ahref="cdt_w_build.htm">Back: Building your project</a></b> </p>