diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_before_you_begin.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_before_you_begin.htm index 436eb5f2f68..4e1954f2a6f 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_before_you_begin.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_c_before_you_begin.htm @@ -7,38 +7,36 @@ -

Before you begin

+

Before you begin

-

Utilities

+

Your CDT plugins are not complete until you've installed some additional C/C++ development tools.

+ +

Utilities

You must install and configure the following utilities:

-

Tip: Cygwin contains these utilities for a Windows environment. - For more information, see http://www.cygwin.com. -

-

To test if cygwin was installed correctly open a command prompt and type g++ or make.

+

cygwin

+

cygwin contains all of these utilities for the Windows environment. To download or more information, see http://www.cygwin.com.

-

The following error message means that no make is installed or your path is not configured correctly.

+

Once you've installed cygwin, you should test to ensure it was installed correctly. To do this, open a command prompt and type g++ or make. If the command complains of a missing file for input, everything has installed fine.

+ +

If the following error message appears, it means that no make is installed, or your path is not configured correctly.

'g++' (or 'make') is not recognized as an internal or external command, operable program or batch file
-

To check your path open a command prompt and type PATH. Make sure that the path to your build utility is defined (example PATH=c:\cygwin\bin).

- -

Build Automatically

- -

For C/C++ projects this feature should be turned off, otherwise builds will be performed whenever a file is saved, including makefiles and header files.

-

Click Projects from the menubar and ensure there is no checkmark beside Build Automatically if there is one click Build Automatically to deselect it.

+

To check the environment variable path for correctness, open a command prompt and type PATH. Make sure that the path to your build utility is defined (example PATH=c:\cygwin\bin).

+

Build Automatically

+

For C/C++ projects the Build Automatically feature should be turned off, otherwise builds will be performed whenever a file is saved, including makefiles and header files.

+

Click Projects from the menubar and ensure there is no checkmark beside the Build Automatically menu item. If there is one, click Build Automatically to deselect it.

Related reference
CDT Home

Related tasks
- Building Manually
- - + Building Manually

IBM Copyright Statement

diff --git a/doc/org.eclipse.cdt.doc.user/concepts/cdt_o_home.htm b/doc/org.eclipse.cdt.doc.user/concepts/cdt_o_home.htm index 2b3a05bb4b2..721974090b6 100644 --- a/doc/org.eclipse.cdt.doc.user/concepts/cdt_o_home.htm +++ b/doc/org.eclipse.cdt.doc.user/concepts/cdt_o_home.htm @@ -15,12 +15,13 @@

This guide provides instructions for using the C/C++ Development Toolkit (CDT) in the workbench.

+Before you begin
+
Getting Started
Concepts
Tasks
Reference

-Before you begin
What's new
diff --git a/doc/org.eclipse.cdt.doc.user/contexts_CDT_LAUNCH.xml b/doc/org.eclipse.cdt.doc.user/contexts_CDT_LAUNCH.xml index a603e9bf8c3..858bacb2161 100644 --- a/doc/org.eclipse.cdt.doc.user/contexts_CDT_LAUNCH.xml +++ b/doc/org.eclipse.cdt.doc.user/contexts_CDT_LAUNCH.xml @@ -54,7 +54,7 @@ Click below to see help. - diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_new_brk_action.png b/doc/org.eclipse.cdt.doc.user/images/cdt_new_brk_action.png new file mode 100644 index 00000000000..9ff87eb97c0 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_new_brk_action.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_pref_brk_action.png b/doc/org.eclipse.cdt.doc.user/images/cdt_pref_brk_action.png new file mode 100644 index 00000000000..91ab8376839 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_pref_brk_action.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_pref_brk_action_properties.png b/doc/org.eclipse.cdt.doc.user/images/cdt_pref_brk_action_properties.png new file mode 100644 index 00000000000..7f113aadb1d Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_pref_brk_action_properties.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/icon_load_all_modules.png b/doc/org.eclipse.cdt.doc.user/images/icon_load_all_modules.png new file mode 100644 index 00000000000..86d532ddfb7 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/icon_load_all_modules.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/nokia2007Copyright.png b/doc/org.eclipse.cdt.doc.user/images/nokia2007Copyright.png new file mode 100644 index 00000000000..2f43e48c602 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/nokia2007Copyright.png differ diff --git a/doc/org.eclipse.cdt.doc.user/images/view_modules.png b/doc/org.eclipse.cdt.doc.user/images/view_modules.png new file mode 100644 index 00000000000..004fa6e3d13 Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/view_modules.png differ diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_dbg_brkpt_actions.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_dbg_brkpt_actions.htm new file mode 100644 index 00000000000..7e0b1325211 --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_dbg_brkpt_actions.htm @@ -0,0 +1,51 @@ + + + + + + + Breakpoint Actions preferences + + + + +

Breakpoint Actions preferences

+ +

Use the Breakpoint Actions page in the Preferences window to create, edit, and remove breakpoint actions. The breakpoint actions defined here are available to all projects in the current workspace.

+

+ + + + + + + + + + + + + + + + + + + + + +
Breakpoint Actions Preference Options
New...

To create a new breakpoint action, click New.

+
Edit...
To edit the currently selected action, click Edit. In the Action dialog box that appears, edit the action settings, then click OK.
Delete
To delete the currently selected action, click Delete.
+ +

Related concepts
+ C/C++ Development perspective

+

Related tasks
+ Working with breakpoints, watchpoints, and breakpoint actions

+

Related reference
+ Debug preferences

+
+Nokia Copyright Notice + + + + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_modules_view.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_modules_view.htm index fe5560c528a..17718e51d0b 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_modules_view.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_modules_view.htm @@ -4,7 +4,6 @@ - Shared Libraries view @@ -15,23 +14,60 @@

Modules view

-

The Modules view of the Debug +

The Modules view of the Debug perspective lets you view information about the modules loaded in the current debug session, including executables and shared libraries. The view consists of two areas: the modules tree and the detail pane. The detail pane displays the detail information for the module selected in the modules tree. Expanding a -module users can view the module's internals - functions, global variables, associated +module enables users to view the module's internals - functions, global variables, associated source files, etc.

-
-
Load Symbols
-
Loads the symbols of the module. The -symbols will be loaded from the file specified in the module's properties.
+Modules view + +

Modules view toolbar icons

+ +

The table below lists the icons displayed in the Modules view toolbar.

+ + + + + + + + + + + + +
CommandNameDescription
Load Symbols for All ModulesLoads the symbols of the all modules involved in the current session. This option does not affect the modules whose symbols are already loaded.
+ +

Modules view context menu commands

+ +

The table below lists the Modules context menu commands.

+ + + + + + + + + + + + + + + + + + + + + + +
CommandNameDescription
Load Symbols for AllLoads the symbols of the all modules involved in the current session. This option does not affect the modules whose symbols are already loaded.
Load SymbolsLoads the symbols of the module. The symbols will be loaded from the file specified in the module's properties.
 Properties...Opens the Properties dialog for the module.
-
Load Symbols For All
-
Loads the symbols of the all modules involved in the current session. This option does not affect -the modules whose symbols are already loaded.
-

Related concepts
Debug information

diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_arg.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_arg.htm index f5d047afb99..72e35f6af71 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_arg.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_arg.htm @@ -20,7 +20,7 @@ that an application uses and the working directory for a run or debug configurat

- + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_comm.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_comm.htm index b4b4d64a44a..9544140cd23 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_comm.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_comm.htm @@ -20,7 +20,7 @@ the location in which to store your run configuration and how you access it, how

ComponentDescription
ComponentDescription
Program arguments
Specifies the arguments that are passed on the command line.
Variables...
Select variables by name to include in the program arguments list.
Working directory
Specifies the run/debug configuration working directory.
- +

diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_dbg.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_dbg.htm index 3bb3d830253..407a93a355c 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_dbg.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_dbg.htm @@ -19,7 +19,7 @@

ComponentDescription
ComponentDescription
Local file
Saves the launch configuration locally.
Shared file
Specifies the path of, or browse to, a workspace to store the launch configuration file, and be able to commit it to CVS.
Display in favorites menu
Add configuration name to Run or Debug menus for easy selection.
- +
ComponentDescription
ComponentDescription
Debugger
Selects debugger type from the list.
Stop on startup at
Stops program at specified location.
Advanced
Opens the Advanced Options dialog.

diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_env.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_env.htm index 1e76a905d4d..b9cdcc2b6ac 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_env.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_env.htm @@ -20,7 +20,7 @@ set environment variables and values to use when an application runs.

- + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_main.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_main.htm index 934e2ce266f..299cc043887 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_main.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_main.htm @@ -19,7 +19,7 @@

ComponentDescription
ComponentDescription
Name
Displays the name of environment variables.
Value
Displays the value of environment variables.
New
Creates a new environment variable.
- + diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_srce.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_srce.htm index 7bde34dd761..2b922ca73da 100644 --- a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_srce.htm +++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_run_dbg_srce.htm @@ -21,7 +21,7 @@ application. By default, this information is taken from the build path of your p

ComponentDescription
ComponentDescription
Project
Specifies the name of the project.
C/C++ Application
Specifies the name of the application.
Search Project...
Specifies the binary or binaries to run within the project.
- +

diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_brkpnts_watch.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_brkpnts_watch.htm index 12da2defd38..21f73740255 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_brkpnts_watch.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_o_brkpnts_watch.htm @@ -4,23 +4,24 @@ -Working with breakpoints and watchpoints +Working with breakpoints, watchpoints, and breakpoint actions -

Working with breakpoints and watchpoints

+

Working with breakpoints, watchpoints, and breakpoint actions

-

This section explains how to work with breakpoints and watchpoints.

+

This section explains how to work with Working with breakpoints, watchpoints, and breakpoint actions.

- Adding breakpoints
- Adding watchpoints
- Removing breakpoints and watchpoints
- Enabling and disabling breakpoints and watchpoints
- - -

IBM Copyright Statement

+

Adding breakpoints
+ Adding watchpoints
+ Adding breakpoint actions
+ Removing breakpoints and watchpoints
+ Enabling and disabling breakpoints and watchpoints
+ Attaching or removing breakpoint actions
+

+

IBM Copyright Statement

diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_brk_action.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_brk_action.htm new file mode 100644 index 00000000000..89d48a6bc7b --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_add_brk_action.htm @@ -0,0 +1,48 @@ + + + + + + +Adding breakpoint actions + + + + + +

Adding breakpoint actions

+ +

To add a new breakpoint action:

+
    +
  1. Click Window > Preferences.
  2. +
  3. Expand C/C++ > Debug and click Breakpoint Actions.
  4. +
  5. In the Breakpoint Actions page, click New.
    +
    +
  6. +
  7. In the New Breakpoint Action dialog box, type a name for the action in the Action name box.
  8. +
  9. Select an action from the Action type list.
  10. +
  11. Set the action's attributes:
  12. +
      +
    • For a sound action, select a sound file.
    • +
    • For a log action, type a message.
    • +
    • For a resume action, set the Resume after time in seconds.
    • +
    • For an external tool action, click Choose to select a program.
    • +
    +
  13. Click OK.
  14. +
+

The new breakpoint actions appears in the Actions available for any breakpoint in the workspace list.

+

Related concepts +
+C/C++ Development perspective

+

Related tasks +
+ Working with breakpoints, watchpoints, and breakpoint actions

+

Related reference +
+Debug preferences

+
+Nokia Copyright Statement + + + + diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_addrmv_brk_action.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_addrmv_brk_action.htm new file mode 100644 index 00000000000..44cb062a8fa --- /dev/null +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_addrmv_brk_action.htm @@ -0,0 +1,54 @@ + + + + + + +Attaching or removing breakpoint actions + + + + + +

Attaching or removing breakpoint actions

+ +

You can attach one or more breakpoint actions to a single breakpoint. For example, when the breakpoint is hit you could both log a message and play a sound. Actions are executed in the order they appear in the Actions for this breakpoint list.

+

To attach or remove a breakpoint action from a breakpoint:

+
    +
  1. In the Breakpoints view, right-click the breakpoint, and select Properties.
  2. +
  3. In the Properties for C/C++ Breakpoint dialog box, click Actions.
    + Actions page in Breakpoint Properties Dialog Box
  4. +
  5. In the Available actions list: +
      +
    • Select an action and click Attach to link it to the breakpoint. Repeat as required.
    • +
    • To add a new breakpoint action, click New.
    • +
    • To edit the selected breakpoint action, click Edit.
    • +
    • To delete the selected action, click Delete.
      +

      NOTE: Deleting a breakpoint action removes it from the workspace.

      +
    • +
    +
  6. + +
  7. In the Actions for this breakpoint list you can: +
      +
    • Click Remove to delete the selected action from the list.
    • +
    • Click Up to move the selected action up in the list.
    • +
    • Click Down to move the selected action down in the list.
    • +
    +
  8. + +
  9. Click OK.
  10. +
+ +

Related tasks +
+ Working with breakpoints, watchpoints, and breakpoint actions

+

Related reference +
+Debug preferences

+
+Nokia Copyright Statement + + + + diff --git a/doc/org.eclipse.cdt.doc.user/toc.xml b/doc/org.eclipse.cdt.doc.user/toc.xml index 0f21698da30..5f0bc02da79 100644 --- a/doc/org.eclipse.cdt.doc.user/toc.xml +++ b/doc/org.eclipse.cdt.doc.user/toc.xml @@ -4,18 +4,22 @@ - + + + - + + - + + - + + - diff --git a/doc/org.eclipse.cdt.doc.user/topics_Tasks.xml b/doc/org.eclipse.cdt.doc.user/topics_Tasks.xml index c00be683927..cacbe914830 100644 --- a/doc/org.eclipse.cdt.doc.user/topics_Tasks.xml +++ b/doc/org.eclipse.cdt.doc.user/topics_Tasks.xml @@ -57,15 +57,20 @@ + - + + + + + @@ -74,6 +79,7 @@ +
ComponentDescription
ComponentDescription
Add
Adds new source containers to the Source Lookup Path search list.
Edit...
Modifies the content of the selected source container.
Remove
Removes selected items from the Source Lookup Path list.