GetDebugText

From SCAR Divi Manual
Jump to: navigation, search

Definition

function GetDebugText: AnsiString;

Availability

SCAR Divi 3.10 > 3.34

Description

Returns the contents currently displayed in the debug box as a string.

Example

begin
  ClearDebug;
  WriteLn('Hello');
  WriteLn('World');
  WriteLn(TrimEx(#13#10, GetDebugText));
end.

Output:

Hello
World
Hello
World

See Also