A set of functions is only available in the DEBUG build, and are intended for testing and debugging.

There are a number of functions and environment variables available in the DEBUG mode only. They can be used to help with testing and debugging.

  • Setting WsTimeout=0 will cause all timeouts to be INFINITE. This is useful when stepping through the debugger during time sensitive operations.
  • Setting WsFailCount has the same effect as calling WsSetAutoFail.
  • WsFlags allows you to set various flags that modify the runtime behavior. The syntax is WsFlags=a,b,c. The supported flags are ModifyTimestamp, ModifyInclusivePrefixes, ModifyTimestampDigest, ModifyToHeaderDigest and ModifySignatureValue.

The following functions are used with debugging: