RAD Studio (Common)
ContentsIndex
PreviousUpNext
Using Tooltips During Debugging

When you debug an application, you can display the values of members within a watched object whose type is a complex data object (such as a class, record, or array). These values display in the code editor window when you expand a watched object. Additionally, you can expand the elements within an object, displaying its sub-elements and their values. You can expand all levels in the object. Members are grouped by ancestor.

To expand tooltips during debugging

  1. Create a new VCL for Win32 application or open an existing application.
  2. Choose ProjectOptionsCompiler and verify that the Use debug DCUs option is selected.
  3. Choose ToolsOptionsEditor OptionsCode Insight and verify that the Tooltip expression evaluation option is selected.
  4. Choose RunStep Over.
    Tip: Alternatively, press F8
    . This opens the Code page of the main source file for the project.
  5. Choose RunStep Over again. This initializes the project.
  6. Move the cursor over the Application keyword. This displays the tooltip in a single block.
  7. Click the + next to the Application keyword within the tooltip. The tooltip expands to a scrollable box that contains each child property and its value. The + appears next to each property that has one or more child properties. You can expand any member to display properties and values hierarchically within the tooltip.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!