RAD Studio (Common)
Debug Inspector


Inspects the following types of data: arrays, classes, constants, functions, pointers, scalar variables, and interfaces.  

The Debug Inspector contains three areas:

Top pane 
Displays the name, type, and address or memory location of the inspected element, if available. When inspecting a function call that returns an object, record, set, or array, the debugger displays “In debugger” in place of the temporarily allocated address.  
Middle pane 
Displays one or more of the following tabs, depending on the type of data you inspect:
Data - Shows data names (or class data members) and current values.
Methods - Displayed only when you inspect a class or interface and shows the class methods (member functions) and current address locations.
Properties - Displayed only when you inspect an object class with properties and shows the property names and current values.  
Bottom pane 
Displays the data type of the item currently selected in the middle pane.  
Status bar 
Displays the data type of the element being inspected.  

Right-click the Debug Inspector to display the following commands.

Lets you assign a new value to a data item. An ellipsis (…) appears next to an item that can be changed. You can click the ellipsis as an alternative to choosing the change command.
This command is only enabled when you can modify the data item being inspected.  
Show Inherited  
Switches the view in the Data, Methods, and Properties panes between two modes: one that shows all intrinsic and inherited data members or properties of a class, or one that shows only those declared in the class.  
Show Fully Qualified Names  
Shows inherited members using their fully qualified names.  
Sort By 
Sorts the data elements displayed in the Debug Inspector by their name or by the order in which they were declared in the code.  
Opens a new Debug Inspector on the data element you have selected. This is useful for seeing the details of data structures, classes, and arrays.  
Same as the Inspect command, except that the current Debug Inspector is replaced with the details that you are inspecting (a new Debug Inspector is not opened). To return to a higher level, use the history list.  
New Expression  
Lets you inspect a new expression.  
Type Cast  
Lets you specify a different data type for an item you want to inspect. Type casting is useful if the Debug Inspector contains a symbol for which there is no type information, and when you want to explicitly set the type for untyped pointers.  
Toggles whether the Debug Inspector window is dockable.  
Stay On Top  
Keeps the window visible when out of focus.  
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!