PeopleCode Trace

New to PeopleSoft and want to know how to set up trace in PeopleCode? Then read on;

You set a trace on your PeopleSoft application, to see what PeopleCode methods / functions are getting executed as you navigate through your PeopleSoft application. Tracing can be enabled directly from the PeopleSoft sign on page. Refer to a screen shot of the sign on page below

Trace PeopleCode Option - Sign on Page - PeopleSoft
Now, when you click on "click here" from the sign on page, you will be shown a page on which you can set your PeopleCode trace options. This page is shown below
Selecting PeopleCode Trace Settings
If you cannot find a link to click on the sign on page, you can always access the trace page of PeopleSoft by changing the login URL. As an example, if the login URL is


you can append "&trace=y" to the URL. This will make the signon URL as


This action will directly open the trace page enabling you to specify trace options. Now, in the trace option selection page, you can select what kind of trace options you would like to specify for this trace instance.

Once selected, you can click on "Sign in" and click on the pages of your interest. As you move on with the pages, PeopleSoft will write the trace information to a file which can be found in your application server log directory. This would be typically;


The name of the trace file will be a combination of your login ID and IP address. If your PeopleSoft environment runs on multiple application server domains, to find the right application server, you can click on "Ctrl+J" while you are on the page. At this point, PeopleSoft will open up a small information page, which will contain the following information:

Browser: - Your Browser Name / Version
Operating System: - Your Operating System
Browser Compression:- ON/ OFF
Tools Release :- PeopleTools release
Application Release:- Application Version
Service Pack :- Service Pack details if applicable
Page :- The current PeopleSoft Page Name
Component :- The current PeopleSoft Component Name
Menu - The current PeopleSoft Menu Name
User ID:- PeopleSoft Login User ID
Database Name:- DB Name
Database Type: Type of Database Oracle, Sybase etc
Application Server: The application server being used

You have to pick the details of the "Application Server" to understand where your trace file resides. The trace file will be a huge one depending on how many pages you have moved through. You can always delete the trace file if you want only a specific event to be traced. This will reduce the trace file size considerably. In the next post, we will discuss how to set trace options through PeopleCode.

No comments:

Post a Comment