From 19a825436cb3e1a553ab3c1d99a6f79170278d51 Mon Sep 17 00:00:00 2001
From: Mikhail Khodjaiants
Date: Tue, 9 Aug 2005 19:55:59 +0000
Subject: [PATCH] CDT 3.0.
---
.../tasks/cdt_t_add_watch.htm | 20 +++------
.../tasks/cdt_t_controldebug.htm | 2 +-
.../tasks/cdt_t_debug_prog.htm | 3 --
.../tasks/cdt_t_disassembly.htm | 23 ++++------
.../tasks/cdt_t_expressions.htm | 6 +--
.../tasks/cdt_t_registers.htm | 8 ----
.../tasks/cdt_t_rem_wtch_brk.htm | 1 -
.../tasks/cdt_t_run_dbg.htm | 1 -
.../tasks/cdt_t_run_source.htm | 43 ++++++-------------
.../tasks/cdt_t_variables.htm | 3 +-
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.
+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.
-To add a watchpoint:
+To set a watchpoint on a global variable:
- - Click Run > Add C/C++ Watchpoint.
-
- - If Add C/C++ Watchpoint is not listed on the Run menu, select Window
- > Customize Perspective.
- In the Customize Perspective dialog
- box, expand Other in the Available Items list.
- Select the C/C++ Debug check box. Click OK.
-
- - In the Add C/C++ Watchpoint dialog box, type an expression in the Expression to watch
- box. The
- expression may be anything that can be evaluated inside an if
- statement.
+ - Highlight the variable in the editor or select it in the outline view.
+ - Click Run > Toggle Watchpoint.
- Do any of the following:
- To stop execution when the watch expression is read, select the
Read check box.
- To stop execution when the watch expression is written to, select the Write
check box.
- - In the C/C++ editor, open the file that you added the watchpoint to.
- - Click OK.
- The watchpoint appears in the Breakpoints view
list.
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.
- In the Debug view, select a thread.
- - To complete the debug session, click:
+ - To control the debug session, click:
- Run > Resume
- Run > Suspend
- Run > Terminate
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.
the application you want to debug.
- In the C/C++ Application box, type the name of the executable
that you want to run.
- - Click the Debugger tab.
- - Select Run program in debugger.
- - Select the Stop at main() on startup checkbox.
- Click Debug.
The debug perspective is opened and the application window opens on
top. The C/C++ editor window is repositioned in the perspective.
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 @@
-Stepping into assembler functions
+Stepping into disassembled code
-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.
+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 Window > Show View >
+Disassembly menu.
-When disassembly mode is disabled, the
-debugger steps over functions for which you do not have the source.
+To activate the insruction step mode check the Instruction Stepping Mode option
+on the Debug view toolbar. Debugger switches to the instruction stepping mode automatically
+when the Disassembly view has focus.
-To step into assembler functions during debugging:
-
-
- - In the Debug view, right-click, and select Disassembly Mode.
- As you step Into assembler functions, the execution trace is displayed in
- the Assembly Editor.
-
C/C++ Development perspective
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.
To add an expression:
- - Click Run > Add Expression.
- - Type the expression that you want to evaluate. For example, (x-5)*3 ).
+ - Select Add Watch Expression in the context menu of the Expressions view.
+ - Type the expression that you want to evaluate. For example, (x-5)*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 and changed values are highlighted.
+ are reevaluated.
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.
-To modify Registers view preferences:
-
-
- - Click Window > Preferences.
- - Expand Debug, and click Registers View.
- - Make the required changes, and click OK.
-
-
C/C++ Development perspective
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.
In the Breakpoints view, do one of the following:
- Select the breakpoints and watchpoints you want to remove.
- - Click Edit > Select All.
- Right-click, click Select All.
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) {
Select a debugger from the Debugger list.
- To be prompted to select a process from a list at run-time, select Attach to running process.
To let your program run until you interrupt it manually, or until it
hits a breakpoint, clear the Stop at main() on startup check box .
Specify debug options in the Debugger Options box.
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 @@
Specifying the location of source files
-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.
+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.
-To specify the location of source files:
+To specify the locations of source files:
- In the C/C++ Projects view, select a project.
- Click Run > Run or Run > Debug.
- In the Configurations box, expand C/C++ Local.
- Select a run or debug configuration.
- - Click the Source tab.
The Generic Source Locations list shows
- the location of the project selected in the C/C++ Projects view and any
- referenced projects.
- - To add an existing source locations:
+
- Click the Source tab.
+ - To add a source container to the source locations list:
- - Click Add to be prompted to select a process from a list at run-time.
- - In the Add Source Location dialog box, select a location type.
- - Click Next.
- - Do one of the following:
- - Select an existing project in your workspace. Click Finish.
- - Specify a location in your file system. Click Finish.
-
- - You can change the order of source locations are used by selecting a location and clicking
- the Up or Down buttons.
- - You can remove a source location by selecting the location and clicking the Remove button.
- - To search for duplications in your source locations select the Search for duplicate source files checkbox.
- - Click Run or do the following, as required:
+
- Click Add to open the Add Source dialog box
+ - Select a container type.
+ - Select a container from the list of available containers of the selected type.
+
+ - You can remove or modify a source container by selecting a container and clicking the Remove or Edit button.
+ - You can change the order of source containers by selecting a container and clicking
+ the Up or Down buttons.
+ - To search for duplications in your source locations select the Search for duplicate source files on the path checkbox.
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.
program handles a particular value or to speed through a loop.
- - In Variables view, right-click a variable, and select Change Variable
- Value.
+ - In Variables view, right-click a variable, and select Change Value.
- Type a value.