Sign in Join
FPDoc Onlineexperiment

dbgs function

In unit Forms

Formats debugger messages for various types by converting their values into readable text.

Declaration

pascal
function dbgs(const State: TWindowState): string; overload

Arguments

State

TWindowState instance with values included in the text.

Function result

The formatted text with values for the specified argument.

Description

dbgs is overloaded in forms.pp. The overloads handle creating textual information for the TWindowState, TCloseAction, and TScrollBarKind types. The text is used in DebugLn and WriteLn messages in the Lazarus debugger.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.