# HG changeset patch # User fturovic # Date 1286482627 18000 # Node ID 9526bdb37542ccccdbb534533a15d7dbfebc8776 # Parent 3cc835ea617dc28b79fa7ed94aed6304748c18c4 ibid- forgot to add all files diff -r 3cc835ea617d -r 9526bdb37542 core/com.nokia.carbide.cpp.doc.user/book.css --- a/core/com.nokia.carbide.cpp.doc.user/book.css Thu Oct 07 15:15:27 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/book.css Thu Oct 07 15:17:07 2010 -0500 @@ -1,172 +1,174 @@ -/* - Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). - All rights reserved. +/* + Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). + All rights reserved. License: http://www.eclipse.org/legal/epl-v10.html */ /* Add whitespace around entire display to avoid crowding edges of view */ -html { - margin: 2px 10px 10px 10px; - } +html { margin: 2px 10px 10px 10px; } /* 20091007 added verdana and ariel to list to match SFO website fonts choices */ -body, p, table, li { +body, p, table, li +{ font-family: Verdana, Ariel, Helvetica, sans-serif; font-size: 1.0em; - font-size: 0.9em; font-weight: normal; } -h1, h2, h3, h4, h5, h6, strong, em { +h1, h2, h3, h4, h5, h6, strong, em +{ font-family: Verdana, Ariel, Helvetica, sans-serif; - color: #000000; - } + color: #000000; +} /* 20091007 - changed sizes to use em versus px */ -h1 { font-size: 1.3em } -h2 { font-size: 1.2em } -h3 { font-size: 1.1em } -h4 { font-size: 1.0em } -h5 { font-size: 0.9em } -h6 { font-size: 0.8em } +h1 { font-size: 1.3em; } +h2 { font-size: 1.2em; } +h3 { font-size: 1.1em; } +h4 { font-size: 1.0em; } +h5 { font-size: 0.9em; } +h6 { font-size: 0.8em; } /* For headlines at the top of a view, add space */ /* 20090224-changed green fade to gold header image */ -h1, h2, h3 { +h1, h2, h3 +{ background-image: url(html/images/gold_header.png); background-repeat: no-repeat; - padding:10px 0px 10px 12px; - } + padding: 10px 0px 10px 12px; +} /* 20091007 SFO styling added */ -h1.NavTitle { font-size: 1.2em } -h3 .NavListTitle { font-size: 1.1em } +h1.NavTitle { font-size: 1.2em; } +h3 .NavListTitle { font-size: 1.1em; } -li { - margin-bottom:8px; - margin-top:8px; - } +li +{ + margin-bottom: 8px; + margin-top: 8px; +} /* Footer includes space and a gray line above the company logo */ -#footer { - padding-top:10px; - margin-top:20px; - border-top:1px solid #999; +#footer +{ + padding-top: 10px; + margin-top: 20px; + border-top: 1px solid #999; font-family: Verdana, Ariel, Helvetica, sans-serif; font-size: 0.8em; color: #333333; - } +} -.listing { +.listing +{ background-color: #FFFFCC; font-family: "Courier New", Courier, mono; font-size: 1.1em; color: #000000; margin: 5px 0px; - } - -.code, pre { +} + +.code, pre +{ font-family: "Courier New", Courier, mono; font-size: 1.1em; color: #000000; - } +} -.step { +.step +{ /* background-color: #EEE; */ /* margin: 10px 0px; */ /* color: #111; */ /* border-bottom:2px solid #EEE; */ - } - -.substep { - background-color: #EEE; - } - - +} + +.substep { background-color: #EEE; } + /* Figure/Listing/Table titles are centered and gray */ -p.table { +p.table +{ color: #999; font-weight: bold; padding-top: 5px; - } +} -table { +table +{ border: solid #999 1px; table-layout: auto; - } +} -td, th { +td, th +{ border: solid #999 1px; padding: 5px; - vertical-align:top; - } - -th { - background-color: #C9D2C9; - } + vertical-align: top; +} -div.ol.p { - margin-left: 3em; - } +th { background-color: #C9D2C9; } +div.ol.p { margin-left: 3em; } /* Make all ordered/unordered list items appear in bold gray */ -div ol > li, div ul > li { - font-weight:bold; +div ol > li, div ul > li +{ + font-weight: bold; color: #333; - } +} + +div ol > p, div ul > p, div li > p { font-weight: normal; } -div ol > p, div ul > p, div li > p { - font-weight:normal; - } - -div h5, div h4 { - padding:5px 0px 5px 12px; +div h5, div h4 +{ + padding: 5px 0px 5px 12px; background-color: #D3DAD4; - font-weight:bold; + font-weight: bold; color: #000000; - } - - +} + /* Notes stand out using a light top & bottom borders with dark gray text */ -p.note { +p.note +{ color: #333; padding: 5px; margin-left: 1em; margin-right: 1em; border-top: solid #BBB thin; border-bottom: solid #BBB thin; - } +} - /* Figure/Listing/Table titles are centered and gray */ -p.figure { +p.figure +{ color: #026690; text-align: center; font-weight: bold; - } - +} /* highly visible red background and white text for things that need fixing before release */ /* SHOULD NOT BE PRESENT IN RELEASED PRODUCTS */ -.fix { +.fix +{ background-color: red; font-weight: bold; color: white; - } +} -.question { - font-style:italic; - font-weight:bold; +.question +{ + font-style: italic; + font-weight: bold; color: #555; - } - -.titleSmall { +} + +.titleSmall +{ font-family: Verdana, Ariel, Helvetica, sans-serif; font-size: 0.8em; - } +} - -.plain { +.plain +{ font-family: Verdana, Ariel, Helvetica, sans-serif; font-size: 0.9em; font-style: normal; @@ -175,8 +177,8 @@ font-variant: normal; color: #000000; text-decoration: none; - } +} -a:link { color: #026690 } -a:visited { color: #555555 } -a:hover { color: #FFD62C } +a:link { color: #026690; } +a:visited { color: #555555; } +a:hover { color: #FFD62C; } diff -r 3cc835ea617d -r 9526bdb37542 core/com.nokia.carbide.cpp.doc.user/html/debugger/variables/view_expressions.htm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/com.nokia.carbide.cpp.doc.user/html/debugger/variables/view_expressions.htm Thu Oct 07 15:17:07 2010 -0500 @@ -0,0 +1,168 @@ + + + + + + + +Viewing Expressions + + + + +

Viewing Expressions

+

The Expressions view allows manipulation of expressions. An expression is a snippet of code that is evaluated to produce a value. In Carbide they are defined using C/C++ expressions. Some expressions may need to be evaluated at a specific location in the program so that its variables can be referenced.

+

The Expressions view displays these panes:

+ +

+

Figure 1 - Expressions view

+
+

To open the Expressions view

+ +
+

Expressions view toolbar icons

+

The following commands appear on the Expressions view toolbar:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemIconsExplanation
Show Type Names
Toggles the display of type names in the Expressions view.
Show Logical Structure
Not available in C/C++ yet.
Collapse All
Collapses all expanded expressions into the top level.
Create a New Watch Expression
Add New Watch Expression icon

Click to open the Add New Expression dialog. Enter the expression to add, then click OK.

+

Add Watch Expression window

Remove Selected Expression
Click to remove all currently selected expressions from the expressions list.
Remove All Expressions
Click to remove all expressions from the expressions list.
View Menu
View menu

Click the View Menu icon to set the layout of the Expressions view.

+

View menu

+

Expressions view context menu options

+

Right-click in the Expression's pane in the Expressions view to access the context menu commands shown in Figure 2.

+

Expressions view context menu

+

Figure 2. Expressions view context menu commands (Expression list pane)

+

The commands include:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ItemExplanation
Select AllSelects all the expressions shown in the Expressions view.
Copy Expressions

Copies the selected expressions to the clipboard.

+

NOTE Only the selected expressions visible in the Expressions view are copied. Expressions listed outside the boundary of the view are not in memory and can't be copied at this time.

Remove

Remove the selected expressions from the Expressions view list.

+
Remove AllRemove all expressions from the Expressions view list.
Find...

Opens a Find dialog to search the Expressions view list. Enter the expression to search for and click OK.

+

Find Expressions dialog

Change Value...

Opens the Set Value dialog where you can modify the value assigned to the selected expressions. Change the value and click OK.

+

Add Watch Expression...

Opens the Add Watch Exression dialog for creation of a new expression.

DisableDisables automatic evaluation of the selected expression and appends (disabled) to the expression name. Useful when you have lots of expressions but are concentrating on only a few. The more expressions that need evaluaton, the longer it takes to update the Expressions view.
EnableEnables automatic evaluation of the selected expression. Enables a disabled expression so that it is evaluated during the debug session.
Edit Watch Expression...Opens the Edit Watch Expression dialog where you can modify the expression and enable it for automatic evaluation.
Add Watchpoint (C/C++)...

Opens the Add Watchpoint dialog enabling you to define a watchpoint on the variable.

+

Add Watchpoint window

Cast To Type...

Opens the Cast to Type dialog where you can assign a new type to the expression. Enter the type and click OK.

+

All cast expressions are then shown using the Restore Original Type menu option making them easy to identify and restore later.

Display As Array...Opens the Display as Array dialog where you can set array parameters to show the variables. Enter the Start index and Length, then click OK to update how the variables are shown in the Variables view.
Format

Change the selected variable's display format. The default setting is Natural, or the format assigned when the variable is defined. For example, the decimal value of 256 would appear as:

+
    +
  • Binary (0b100000)
  • +
  • Natural (256)
  • +
  • Decimal (256)
  • +
  • Hexadecimal (0x100)
  • +
WatchCreates a watchpoint on the selected variable and displays it in the Watchpoint view.
+
Other references
+ + + + diff -r 3cc835ea617d -r 9526bdb37542 core/com.nokia.carbide.cpp.doc.user/html/debugger/variables/viewing_expressions.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/debugger/variables/viewing_expressions.htm Thu Oct 07 15:15:27 2010 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,160 +0,0 @@ - - - - - - -Viewing Expressions - - - - -

Viewing Expressions

-

The Expressions view allows manipulation of expressions. An expression is a snippet of code that is evaluated to produce a value. In Carbide they are defined using C/C++ expressions. Some expressions may need to be evaluated at a specific location in the program so that its variables can be referenced.

-

The Expressions view displays these panes:

- -

-

Figure 1 - Expressions view

-

Expressions view toolbar icons

-

The following commands appear on the Expressions view toolbar:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ItemIconsExplanation
Show Type Names
Toggles the display of type names in the Expressions view.
Show Logical Structure
Not available in C/C++ yet.
Collapse All
Collapses all expanded expressions into the top level.
Create a New Watch Expression
Add New Watch Expression icon

Click to open the Add New Expression dialog. Enter the expression to add, then click OK.

-

Add Watch Expression window

Remove Selected Expression
Click to remove all currently selected expressions from the expressions list.
Remove All Expressions
Click to remove all expressions from the expressions list.
View Menu
View menu

Click the View Menu icon to set the layout of the Expressions view.

-

View menu

-

Expressions view context menu options

-

Right-click in the Expression's pane in the Expressions view to access the context menu commands shown in Figure 2.

-

Expressions view context menu

-

Figure 2. Expressions view context menu commands (Expression list pane)

-

The commands include:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ItemExplanation
Select AllSelects all the expressions shown in the Expressions view.
Copy Expressions

Copies the selected expressions to the clipboard.

-

NOTE Only the selected expressions visible in the Expressions view are copied. Expressions listed outside the boundary of the view are not in memory and can't be copied at this time.

Remove

Remove the selected expressions from the Expressions view list.

-
Remove AllRemove all expressions from the Expressions view list.
Find...

Opens a Find dialog to search the Expressions view list. Enter the expression to search for and click OK.

-

Find Expressions dialog

Change Value...

Opens the Set Value dialog where you can modify the value assigned to the selected expressions. Change the value and click OK.

-

Add Watch Expression...

Opens the Add Watch Exression dialog for creation of a new expression.

DisableDisables automatic evaluation of the selected expression and appends (disabled) to the expression name. Useful when you have lots of expressions but are concentrating on only a few. The more expressions that need evaluaton, the longer it takes to update the Expressions view.
EnableEnables automatic evaluation of the selected expression. Enables a disabled expression so that it is evaluated during the debug session.
Edit Watch Expression...Opens the Edit Watch Expression dialog where you can modify the expression and enable it for automatic evaluation.
Add Watchpoint (C/C++)...

Opens the Add Watchpoint dialog enabling you to define a watchpoint on the variable.

-

Add Watchpoint window

Cast To Type...

Opens the Cast to Type dialog where you can assign a new type to the expression. Enter the type and click OK.

-

All cast expressions are then shown using the Restore Original Type menu option making them easy to identify and restore later.

Display As Array...Opens the Display as Array dialog where you can set array parameters to show the variables. Enter the Start index and Length, then click OK to update how the variables are shown in the Variables view.
Format

Change the selected variable's display format. The default setting is Natural, or the format assigned when the variable is defined. For example, the decimal value of 256 would appear as:

-
    -
  • Binary (0b100000)
  • -
  • Natural (256)
  • -
  • Decimal (256)
  • -
  • Hexadecimal (0x100)
  • -
WatchCreates a watchpoint on the selected variable and displays it in the Watchpoint view.
-
Other references
- - - - diff -r 3cc835ea617d -r 9526bdb37542 core/com.nokia.carbide.cpp.doc.user/html/debugger/views/view_expressions.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/debugger/views/view_expressions.htm Thu Oct 07 15:15:27 2010 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,92 +0,0 @@ - - - - - - - -Expressions Window - - - -

Expressions View

-

Use the Expressions view to inspect frequently used variables as their values change during a debugging session. You can monitor and manipulate:

- -

The Expressions view displays these panes:

- -

Figure 1 shows the Expressions view.

-

-

Figure 1 - Expressions view

-
-

Opening an Expressions view

- -
-

Expressions view toolbar icons

-

The following commands appear on the Expressions view toolbar:

-
Table 1. Expressions view —items
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ItemIconsExplanation
Show Type Names
Toggles the display of type names in the Expressions view.
Show Logical Structure
Not available in C/C++ yet.
Collapse All
Collapses all expanded expressions into the top level.
New Watch Expression
New Watch Expression icon
Click to open the Add Watch Expression dialog.
Remove Selected Expression
Click to remove all currently selected expressions from the expressions list.
Remove All Expressions
Click to remove all expressions from the expressions list.
View Menu
- View menu icon -
-
Click to specify the Layout options for the Expressions view.
-
Related tasks
- - - - -