Enable the UI Toolkit debugger

WTSupported in traditional Synergy on Windows


USupported on UNIX
VSupported on OpenVMS

The DTKDBG environment variable enables UI Toolkit debugging.


Any value.


If DTKDBG is set and Toolkit generates a fatal error, a window displays asking if you want to examine the window system. Answer y to start the Toolkit debugger. While a Toolkit program is running, you can enter debug mode by pressing ctrl+r while performing any Toolkit input.

When DTKDBG is set, the debugger does the following:

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 DTKDBG=1