ITD - InterBase Trivial Debugger Help - Symbols
TOC:

Types:

TISCQuad - a huge 8 bytes long integer. Delphi correspondent type is comp.
TDateTimeRec - C-style date/time structure.
TITDResult - returned by each function so you can easily catch the reason of failure.

Constants:

defSTDOUT - console output handle.
defFile - log file handle.
defMaxPCharLen - maximal PChar allocation size, trailing zero not included. Make sure to change this value and recompile if you change the declare external function SQL definitions.

Functions:

Internal:

WriteConsoleFmt - sends a formatted string to the console.

Exported:

ITDStart - initializes console and writes a version information to it. If you pass a non-empty string to it, the string is assumed a file name where all the output will be duplicated.
ITDStop - closes debug console.

ITDStart returns irOK or irAlreadyAllocated if console was already allocated. ITDStop returns irOK or irNotAllocated if no valid console found.

ITDMessage - sends a text message to console.
ITDWatchInteger - displays integer variable name, its type and value.
ITDWatchString - displays string variable name, its type and value.
ITDWatchFloat - displays float variable name, its type and value using passed length and precision specifiers.
ITDWatchDate - displays date variable name, its type and value in mm/dd/yy hh:nn:ss format.

Each of the above functions returns either a result of WriteConsoleFmt call (irOK or irNotAllocated if no valid console) or irInternalError if WriteConsoleFmt fails.


ITD source and HTML reference files created and originally distributed by Edward V. POPKOV