Enabling the Application Engine Debugger
To run a program in debug mode:
-
Set the debug option.
You can set the debug option in the following locations:
-
Start PeopleSoft Configuration Manager and select the Process Scheduler tab.
In the Application Engine group, enable debug by selecting the Debug check box. This method applies to all methods of invocation.
-
If you used the command line option to invoke your Application Engine program, then you can include the −DEBUG Y parameter in the command line you submit to PSAE.EXE.
If the Debug check box is already selected in PeopleSoft Configuration Manager, then you do not need to include the −DEBUG parameter in your command line.
Note:
Setting debug capabilities in either PeopleSoft Configuration Manager or the command line turns debug mode on. However, if you have debug enabled in Configuration Manager and you submit −DEBUG N on the command line, then the PeopleSoft Configuration Manager setting defines your default command line value and the command line can override the default.
-
If you have PeopleCode in your Application Engine program, enable the PeopleCode debugger.
When you launch your program and the PeopleCode action runs, enter the PeopleCode debugger.
-
-
Run the Application Engine program to debug.
-
At the Application Engine Debugger prompt, enter a command to enable a debugging option.
Each command is represented by a single letter, such as X, L, or M. Enter the letter that corresponds to the option you want to engage. To see a list of the available debugging options, enter? at the prompt.
To enable the PeopleCode debugger for Application Engine:
-
Sign on to PeopleTools using the same user ID that you will use to invoke the Application Engine program.
-
Open Application Designer.
-
Select Debug, PeopleCode Debugger Mode.
Your Application Engine program can be open on the desktop, but you do not need to open the Application Engine program or the PeopleCode action that you want to debug.
-
Select Debug, Break at Start.
This command will cause the Application Engine program to break before executing any PeopleCode programs within it.