Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMikhail Khodjaiants2005-08-09 19:55:59 +0000
committerMikhail Khodjaiants2005-08-09 19:55:59 +0000
commit19a825436cb3e1a553ab3c1d99a6f79170278d51 (patch)
treedb89b3cd3bd283fabdd7298b76ebf99e8f69c9b4 /doc
parent796081b7d5a46b0c41a82da81ec7fe35a43a1d91 (diff)
downloadorg.eclipse.cdt-19a825436cb3e1a553ab3c1d99a6f79170278d51.tar.gz
org.eclipse.cdt-19a825436cb3e1a553ab3c1d99a6f79170278d51.tar.xz
org.eclipse.cdt-19a825436cb3e1a553ab3c1d99a6f79170278d51.zip
CDT 3.0.
Diffstat (limited to 'doc')
-rw-r--r--doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_watch.htm20
-rw-r--r--doc/org.eclipse.cdt.doc.user/tasks/cdt_t_controldebug.htm2
-rw-r--r--doc/org.eclipse.cdt.doc.user/tasks/cdt_t_debug_prog.htm3
-rw-r--r--doc/org.eclipse.cdt.doc.user/tasks/cdt_t_disassembly.htm23
-rw-r--r--doc/org.eclipse.cdt.doc.user/tasks/cdt_t_expressions.htm6
-rw-r--r--doc/org.eclipse.cdt.doc.user/tasks/cdt_t_registers.htm8
-rw-r--r--doc/org.eclipse.cdt.doc.user/tasks/cdt_t_rem_wtch_brk.htm1
-rw-r--r--doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_dbg.htm1
-rw-r--r--doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_source.htm43
-rw-r--r--doc/org.eclipse.cdt.doc.user/tasks/cdt_t_variables.htm3
10 files changed, 33 insertions, 77 deletions
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_watch.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_watch.htm
index 0e3b1bf3140..1e9b3dc4f7c 100644
--- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_watch.htm
+++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_watch.htm
@@ -18,28 +18,20 @@
application whenever the value of a given expression changes, without specifying
where this may happen. Unlike breakpoints which are line-specific watchpoints
are associated with files. They take effect whenever a specified condition is
-true regardless of when or where it occurred.</p>
+true regardless of when or where it occurred.
+To set a watchpoint on a global variable highlight the variable in the editor or
+select it in the outline view. </p>
-<p>To add a watchpoint:</p>
+<p>To set a watchpoint on a global variable:</p>
<ol>
- <li>Click <b>Run &gt; Add C/C++ Watchpoint</b>.</li>
- <ol>
- <li>If <b>Add C/C++ Watchpoint</b> is not listed on the Run menu, select <b>Window
- &gt; Customize Perspective</b>.</li><li>In the Customize Perspective dialog
- box, expand <b>Other</b> in the <b>Available Items</b> list.</li><li>Select the <b>C/C++ Debug</b> check box. Click <b>OK</b>.</li>
- </ol>
- <li>In the <b>Add C/C++ Watchpoint</b> dialog box, type an expression in the <b>Expression to watch</b>
- box. The
- expression may be anything that can be evaluated inside an <samp>if</samp>
- statement.</li>
+ <li>Highlight the variable in the editor or select it in the outline view.</li>
+ <li>Click <b>Run &gt; Toggle Watchpoint</b>.</li>
<li>Do any of the following:</li>
<ul><li>To stop execution when the watch expression is read, select the
<b>Read</b> check box.</li>
<li>To stop execution when the watch expression is written to, select the <b>Write</b>
check box.</li></ul>
- <li>In the C/C++ editor, open the file that you added the watchpoint to.</li>
- <li>Click <b>OK</b>.</li>
<li>The watchpoint appears in the <b>Breakpoints</b> view
list.</li>
</ol>
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_controldebug.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_controldebug.htm
index 14f466b2845..d81c1410feb 100644
--- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_controldebug.htm
+++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_controldebug.htm
@@ -23,7 +23,7 @@ core set of debug controls. </p>
<ol>
<li>In the <b>Debug</b> view, select a thread.</li>
- <li>To complete the debug session, click:</li>
+ <li>To control the debug session, click:</li>
<ul><li><b>Run &gt; Resume</b></li>
<li><b>Run &gt; Suspend</b></li>
<li><b>Run &gt; Terminate</b></li>
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_debug_prog.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_debug_prog.htm
index 686eb2992d0..b0d79900592 100644
--- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_debug_prog.htm
+++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_debug_prog.htm
@@ -31,9 +31,6 @@ program.</p>
the application you want to debug.</li>
<li>In the <b>C/C++ Application</b> box, type the name of the executable
that you want to run.</li>
- <li>Click the <b>Debugger</b> tab.</li>
- <li>Select <b>Run program in debugger</b>.</li>
- <li>Select the <b>Stop at main() on startup</b> checkbox.</li>
<li>Click <b>Debug</b>.</li>
<p>The debug perspective is opened and the application window opens on
top. The C/C++ editor window is repositioned in the perspective.</p>
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_disassembly.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_disassembly.htm
index 0459a33f0b8..4ae591424fe 100644
--- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_disassembly.htm
+++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_disassembly.htm
@@ -12,23 +12,18 @@
<body>
-<h1>Stepping into assembler functions</h1>
+<h1>Stepping into disassembled code</h1>
-<p>Disassembly mode lets you can examine your program as it steps into
-functions that you do not have source code for [such as printf()]. When the
-instruction pointer enters a function for which it does not have the source, the
-function is displayed in the Assembly editor.</p>
+<p>Disassembly view lets you can examine your program as it steps into
+disassembled code. This is useful when the instruction pointer enters
+a function for which it does not have the source.
+To open the Disassembly view select <b>Window &gt; Show View &gt;
+Disassembly</b> menu.</p>
-<p>When disassembly mode is disabled, the
-debugger steps over functions for which you do not have the source.</p>
+<p>To activate the insruction step mode check the <b>Instruction Stepping Mode</b> option
+on the Debug view toolbar. Debugger switches to the instruction stepping mode automatically
+when the Disassembly view has focus.</p>
-<p>To step into assembler functions during debugging:</p>
-
-<ul>
- <li>In the Debug view, right-click, and select <b>Disassembly Mode</b>.</li>
- <p>As you step Into assembler functions, the execution trace is displayed in
- the Assembly Editor.</p>
-</ul>
<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>
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_expressions.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_expressions.htm
index a652cb0e855..b0b40a03034 100644
--- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_expressions.htm
+++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_expressions.htm
@@ -20,11 +20,11 @@ view is part of the Debug perspective.</p>
<p>To add an expression:</p>
<ol>
- <li>Click <b>Run &gt; Add Expression</b>.</li>
- <li>Type the expression that you want to evaluate. For example, (x-5)*3 ).</li>
+ <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 and changed values are highlighted.</p></li>
+ are reevaluated.</p></li>
</ol>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_registers.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_registers.htm
index 0132489a680..e9a5c5da174 100644
--- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_registers.htm
+++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_registers.htm
@@ -37,14 +37,6 @@
Hexadecimal</b>.</li></ul>
</ol>
-<p>To modify Registers view preferences:</p>
-
-<ol>
- <li>Click <b>Window &gt; Preferences</b>.</li>
- <li>Expand <b>Debug</b>, and click <b>Registers View</b>.</li>
- <li>Make the required changes, and click <b>OK</b>.</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>
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_rem_wtch_brk.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_rem_wtch_brk.htm
index 501b0916e82..9058b3f50ba 100644
--- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_rem_wtch_brk.htm
+++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_rem_wtch_brk.htm
@@ -22,7 +22,6 @@ where it was inserted and the Breakpoints view.</p>
<li>In the Breakpoints view, do one of the following:
<ul>
<li>Select the breakpoints and watchpoints you want to remove.</li>
- <li>Click <b>Edit &gt; Select All</b>.</li>
<li>Right-click, click <b>Select All</b>.</li>
</ul>
</li>
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_dbg.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_dbg.htm
index 16a3b004dca..5ac8e10e6ee 100644
--- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_dbg.htm
+++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_dbg.htm
@@ -33,7 +33,6 @@ function changeSize(theImage,wd,ht) {
<img src="../images/run_debugger.png" alt="Run Debugger window">
</li>
<li>Select a debugger from the <b>Debugger</b> list.</li>
- <li>To be prompted to select a process from a list at run-time, select <b>Attach to running process</b>.</li>
<li>To let your program run until you interrupt it manually, or until it
hits a breakpoint, clear the <b>Stop at main() on startup</b> check box .</li>
<li>Specify debug options in the <b>Debugger Options</b> box.</li>
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_source.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_source.htm
index 5e8057afe4e..6a35a5e5eb4 100644
--- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_source.htm
+++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_run_source.htm
@@ -13,44 +13,27 @@
<h1>Specifying the location of source files</h1>
-<p>You can specify the location of source files used when debugging a C or C++
-application. By default, this information is taken from the build path of your
-project.</p>
+<p>You can specify the locations of source files used when debugging a C or C++
+application. By default, this information is taken from your project.</p>
-<p>To specify the location of source files:</p>
+<p>To specify the locations of source files:</p>
<ol>
<li>In the C/C++ Projects view, select a project.</li>
<li>Click <b>Run &gt; Run</b> or <b>Run &gt; Debug</b>.</li>
<li>In the <b>Configurations</b> box, expand <b>C/C++ Local</b>.</li>
<li>Select a run or debug configuration.</li>
- <li>Click the <b>Source</b> tab.<p>The Generic Source Locations list shows
- the location of the project selected in the C/C++ Projects view and any
- referenced projects.</li>
- <li>To add an existing source locations:
+ <li>Click the <b>Source</b> tab.</li>
+ <li>To add a source container to the source locations list:
<ul>
- <li>Click <b>Add</b> to be prompted to select a process from a list at run-time.</li>
- <li>In the <b>Add Source Location</b> dialog box, select a location type.</li>
- <li>Click <b>Next</b>.</li>
- <li>Do one of the following:</li>
- <ul><li>Select an existing project in your workspace. Click <b>Finish</b>.</li>
- <li>Specify a location in your file system. Click <b>Finish</b>.</li></ul>
- </ul>
- <li>You can change the order of source locations are used by selecting a location and clicking
- the <b>Up</b> or <b>Down</b> buttons.</li>
- <li>You can remove a source location by selecting the location and clicking the <b>Remove</b> button.</li>
- <li>To search for duplications in your source locations select the <b>Search for duplicate source files</b> checkbox.</li>
- <li>Click <b>Run</b> or do the following, as required:<ul><li>To specify the
- execution arguments that an application uses and the working directory for a run
- configuration, see <a href="cdt_t_run_arg.htm">Specifying execution arguments</a>.</li>
- <li>To set the environment variables and values to use when an application runs,
- see <a href="cdt_t_run_env.htm"> Setting environment variables</a>.</li>
- <li>To select a debugger to use when debugging an application, see
- <a href="cdt_t_run_dbg.htm">Selecting a debugger</a>.</li>
- <li>To specify where the run configuration is stored, how you access it, and
- the perspective to open when running an application, see
- <a href="cdt_t_run_com.htm">Specifying the location of the run configuration</a>.</li>
- </ul>
+ <li>Click <b>Add</b> to open the <b>Add Source</b> dialog box</li>
+ <li>Select a container type.</li>
+ <li>Select a container from the list of available containers of the selected type.</li>
+ </ul>
+ <li>You can remove or modify a source container by selecting a container and clicking the <b>Remove</b> or <b>Edit</b> button.</li>
+ <li>You can change the order of source containers by selecting a container and clicking
+ the <b>Up</b> or <b>Down</b> buttons.</li>
+ <li>To search for duplications in your source locations select the <b>Search for duplicate source files on the path</b> checkbox.</li>
</ol>
<p><img border="0" src="../images/ngconcepts.gif" ALT="Related concepts" width="143" height="21">
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_variables.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_variables.htm
index d8ea799679c..2f2fedc5ded 100644
--- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_variables.htm
+++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_variables.htm
@@ -29,8 +29,7 @@ or disable variable values.</p>
program handles a particular value or to speed through a loop.</p>
<ol>
- <li>In Variables view, right-click a variable, and select <b>Change Variable
- Value</b>.</li>
+ <li>In Variables view, right-click a variable, and select <b>Change Value</b>.</li>
<li>Type a value.</li>
</ol>

Back to the top