Contains utility routines used in the Lazarus Debugger and IDE.

lazdbglog.pas is part of the LazUtils package.

Returns the memory size needed for the specified string value including a 4-byte Pointer for the string length. PtrUInt value with the number of bytes needed for the string including its length. String examined to get the Length of the memory used for the value. Returns the memory size needed for the specified TFPList instance, or 0 when List is unassigned. PtrUInt value with the number of bytes needed for the TFPList instance including the Pointers needed for its current Capacity. TFPList instance examined in the routine. Returns the reference count for the specified String. PtrInt value with the reference count for S, or -1 if S is an empty string (''). Constant string parameter examined in the routine.