Previous Topic Next topic Print topic


Debugging Your Application

You can debug your client program using the standard debug facilities of Studio Enterprise Edition.

You can debug your server program by setting a configuration file parameter, srvanim=y (see Configuration File Parameters).

On PC servers, the Debugger is started automatically when a client connects to the server if srvanim=y is set.

On UNIX servers, the Debugger is run on the terminal from which mfserver was started and so requires mfserver to be running in foreground mode. This can cause problems as it is preferable to run mfserver as a background process. A further restriction is that only one user can debug through mfserver at any one time. These problems can be avoided by setting srvanim=x,filename where filename is a file created using the touch command. On the terminal that you want to use to display Debugger output, set COBANIM_2=animator and then run the command animfilename. On the terminal that you want to use for your standard input and output, run your application in the normal way, having added srvanim=x,filename to your configuration file.

Previous Topic Next topic Print topic