DbgS function
Formats debug output for various argument types (overloaded).
Declaration
function DbgS(const ATM: TTextMetric): stringArguments
ATM | TTextMetric instance with member values stored in the result. |
Function result
String with the content representing the specified argument.
Description
- TTextMetric
- Generates a delimited list of member names and values for the text metric. For example: 'tmHeight: 16 tmAscent: 2 tmDescent: 2 ...'.
- TScrollInfo
- Generates a delimited list of member names and values for the scroll information. For example: 'Pos: 2 Min: 1 Max: 10 Page: 1 TrackPos: 2' or '(no scrollinfo)'.
- Variant
- Returns the string representation for the variant value. Returns '<empty>' or '<null>' for variants with the varEmpty or varNull types (respectively).
Other overloaded variants of DbgS have been deprecated in LCL version 3.99 (as
of Apr 2024). Use the DbgS routine from LazLoggerIntf (lazloggerbase,
lazloggerfile, lazloggerdummy) for these variants instead.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
