Log DTK_BOUNDS level 2 errors to a file

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
VSupported on OpenVMS

The DTK_BOUNDS_LOG environment variable writes nonfatal bounds checking errors to a file.


The path and filename for the bounds‑checking error file.


Nonfatal errors found by setting DTK_BOUNDS=2 (i.e., level 2 errors) are either displayed in a message box (the default behavior) or written to a log file. If DTK_BOUNDS_LOG is set to a path and filename, each level 2 error encountered, along with a traceback indicating where the error occurred, is appended to the specified file, and the program goes on without prompting you to continue. If DTK_BOUNDS_LOG is not set (or if it’s set to blanks), each level 2 error is displayed in a message box that prompts you to continue or stop the program.

Setting location

The environment. On Windows, this environment variable can also be set in the [synergy], [dbr], or [myprog] section of synergy.ini (where myprog is any .dbr file).

Used by

UI Toolkit.

See also


On Windows,

set DTK_BOUNDS_LOG=d:\test\BoundsChecking.log