Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 1 Introduction : Debugging

Debugging
You may need to capture debug information either:
for the staffifc.exe (on Windows) or Pstaffifc (on UNIX) process. This process is called by the SWDIR\bin\swutil command.
Before using debugging, you should be aware of the following:
Enabling debugging for the staffifc.exe (on Windows) or Pstaffifc (on UNIX) process means that SWDIR\bin\swutil commands will take longer to run. It will not affect the performance of the iProcess Engine server processes.
Debug files are created in the SWDIR\logs directory. Depending on the debug settings used, debug log files can be extremely large. Ensure that the system has adequate disk space available before enabling debugging, and remove the debug log files as soon as they are no longer needed.
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:
See the individual system message descriptions for details of the debug string that is required when investigating a particular error.
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:
HKLM/SOFTWARE/Staffware plc/Staffware Server/Nodes/nodename/DEBUG
where nodename is the iProcess Engine node name.
Refer to 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.
Refer to 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.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved