Enabling and Disabling Debugging

The following sections explain how to enable and disable debugging for each type of process.

Debugging iProcess Engine Server Processes

To enable or disable debugging for an iProcess Engine server process, use the SWDIR\util\swadm command to set the DEBUG process attribute, using the required debug string.

If the debugging is disabled, the MEMSET debug string will be applied to record the debug information to the .dmp log file, which is located in the SWDIR\logs directory. The default MEMSET debug strings for each iProcess Engine server process is as follows:

Process

Default Debug String

BG

MEMSET,ALL=1,G=13,c=15,T=3,m=41,q=57

BGPREDICT

MEMSET,ALL=1,G=13,c=15,T=3,m=41,q=57

DLMGR

MEMSET,ALL=1,G=13,T=7

RPCBG

MEMSET,ALL=1,G=13,T=7,c=15,q=57

RPC_POOL

MEMSET,ALL=1,G=13,T=7,q=57

RPC_TCP_LI

MEMSET,ALL=1,G=13,T=7,q=57

RPC_UDP_LI

MEMSET,ALL=1,G=13,T=7,q=57

SPO

MEMSET,ALL=1,G=13,m=41,q=57,Q=5,v=5,E=5

WIS

MEMSET,ALL=1,G=13,m=41,R=5,w=5,Q=5,T=3

WISMBD

MEMSET,ALL=1,G=13,m=41,T=7,q=57,Q=5

WQS

MEMSET,ALL=1,G=13,q=57,T=5,R=5

PROCMGR

MEMSET,ALL=1,G=13,q=57,T=7

See the individual system message descriptions for details of the debug string that is required when investigating a particular error.

Note 

See Administering Process Attributes in TIBCO iProcess Engine Administrator's Guide, for more information about the SWDIR\util\swadm command.

Debugging the staffifc.exe (Windows) Process

To enable debugging for the staffifc.exe process, put the required debug string in the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\TIBCO iProcess\TIBCO iProcess Engine\Nodes\nodename\DEBUG

where nodename is the iProcess Engine node name.

See the individual system message descriptions for details of the debug string that is required when investigating a particular error.

To disable debugging for the staffifc.exe process, delete or blank the value of the DEBUG registry key.

Debugging the Pstaffifc (UNIX) Process

To enable debugging for the Pstaffifc process, put the required debug string in an environment variable called DEBUG, then export DEBUG.

See the individual system message descriptions for details of the debug string that is required when investigating a particular error.

To disable debugging for the Pstaffifc process, delete the DEBUG environment variable.