Useful lower level helper functions and classes A list for method references. Checked number of Items, can be called with a non-existent object. Checked decrement of Index, can be called with a non-existent object. The resulting Index is lower than Count. True when the Index is valid. The decremented Index, or -1 if the object doesn't exist. Returns the list index of AMethod. The list index, or -1 if not found or the list doesn't exist. The method to find. Removes the indexed Item. Removes the first occurence of AMethod from the list. Adds AMethod to the list, as the first or last member. Add as first (False) or last (True) member. Inserts AMethod at Index. Moves an Item within the list. Deletes all occurences of methods of AnObject from the list. The object whose methods shall be removed. Invokes all methods in the list, as notification handlers. All listed methods must take exactly one argument of type TObject! The reference to pass as the argument to all methods. Indexed access to the methods in the list. A dynamic pointer array type. A node in TDebugLCLItems, holding information about a heap object. ? The address of the item. True when the item has been destroyed. A descriptive string ? Stack trace at creation of the object ? Stack trace at destruction of the object ? All information about the object. True means include stack traces. A list describing dynamically allocated (and destroyed) memory objects. The list holds descriptive information about the object, and stack traces of its creation and destruction. The list entries, organized as an AVL tree. Assigns TheName to the list. The descriptive name of the list. Returns information about an item, optionally creating an entry if not found. The item information, or Nil if none was found or created. The address of the item to find. True means create an according list entry, if none existed yet. True when the item has been created and destroyed. True when destroyed, False when alive or not listed. The address to find. True when the item is alive. True when the item is listed and has not yet been destroyed. The address to find. Checked insert of an item. GDB exception 'RaiseDoubleCreated' when the address is already in use. The info object describing the address. The address to add. Descriptive text about the item. Checked destruction notification.
  • GDB exception 'TDebugLCLItems.MarkDestroyed' when the item was not yet created.
  • GDB exception 'RaiseDoubleDestroyed' when the item was already destroyed.
The address to mark as destroyed. Returns textual information about an object. The descriptive string. The address to find. True means include stack traces. The descriptive name of the list. A record containing an address/description pair. The address to describe. The descriptive text. Compare function for the TDebugLCLItems AVL tree Compares the Item addresses. ? Compare function for . Compare function for Compare function for Compare function type for TStrings Strings[]. Sorting TStrings or TFPList. The list to sort (overloaded type). The sort compare function. Finds an enum member by name ? The member ordinal ? The enum TypeInfo. The member name. The value returned when the element was not found. Returns the textual representation of an shortcut ? Converts the textual representation of an shortcut into an shortcut ? Find an string in a list, given its first few characters. The found string. The begin of the string to find. The list index where the search should start. True means case-sensitive comparison ? True means search ascending from iSelStart ? The list to search. ? The virtual key code. ? ? ? ? ? ? Free the TObject, before setting the reference to Nil. The object reference (variable). ? Invokes the registered handlers. ? Invokes the registered handlers. Increments the TopLeft and BottomRight coordinates of the rectangle. True when the TopLeft coordinates are all positive. Makes the rectangle originate at the given coordinates. Adjusts an rectangle to fit entirely into another one. The bounding rectangle. Eventually swaps the variable contents, so that i1 is not higher than i2. Receives the minimum value of both variables. Receives the maximum value of both variables. Converts coordinates into kind of a rectangle with positive Width and Height. Replaces all '&x' with 'x', and returns the position of the first adjusted letter in the resulting string. Position of the first adjusted non-ampersand letter. ? Compares two pointers, returning the Sign of the difference. +1 if p1 is higher than p2, -1 if p2 is higher than p1, 0 if both are equal. Compares two Handles, returning the Sign of the difference. Compares two LCLHandles, returning the Sign of the difference. Returns True when the two rectangles are equal. Compares the coordinates (y first) and returns the Sign of the difference. Returns true when both method references are equal. Returns the rounded value as an Integer. What if the result exceeds the Integer range? Returns the rounded value as an Cardinal. What if the result exceeds the Cardinal range? Returns the truncated value as an Integer. What if the result exceeds the Integer range? Returns the rounded value as an Cardinal. What if the result exceeds the Cardinal range? Converts an numeric string into an Double value. Raises an exception. Normally, GDB does not catch fpc Exception objects, therefore this procedure raises a standard divide by zero exception which is catched by GDB. ? ? ? ? ? ? ? Writes a number of strings (heavily overloaded) to the debug output ? A single string, or a Format string when followed by an argument list. Writes the formatted dump of the typed arguments. ? ? Converts all line endings in a string into platform LineEnding. ? ? ? Formats debug output for various argument types (overloaded).
  • boolean: "True" or "False".
  • pointer: hexidecimal address.
  • TRect, TPoint: shows the x/y coordinates.
  • TComponentState: set.
  • TObject: Name:ClassName.
  • TClass: ClassName.
  • string, WideString: chars > #126 are translated into #nn (#nnnn) format.
"" ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Returns the component or class name. Converts control characters or above #126 into #hex format. Converts control characters or above #126 into #hex format. Provides an hex dump of a memory section. The formatted dump. The start address. The number of bytes to dump. The number of bytes per line, zero for no line breaks. Provides an hex dump of an memory stream.

The dump starts at the current stream position, the position moves to the end of the dumped range.

The maximum number of bytes to dump. Provides an hex dump of an TObject. Provides an hex dump of an Int64, (sign + absolute value). Provides an dump of SetWindowPosition flags. Translates an virtual key code into its VK_... name. ? ? ? Writes data into an file ? Appends a line to the given file ? Appends (preformatted) text to an file ? ? Strips everything after (and including) an CR or LF. ??? ? Compresses multi-line text into a single line.
  Ensures the covenient look of multiline string
  when displaying it in the single line
  * Replaces CR and LF with spaces
  * Removes duplicate spaces
          
Toggles the case of all ASCII characters in an string. ? ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? ? ? ? Deprecated, see for replacements. ? ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Deprecated, see for replacements. ? Replaces last digits with a decimal number one higher For example Name21 becomes Name22. ? Deprecated, see for replacements. ? Replaces last digits with 1 For example Name321 becomes Name1 ? Deprecated, see for replacements. ? ? ? ?