You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Debug peoplecode

3 replies [Last post]
Guest's picture

guys tell me how dedug the people code program?

Lepa's picture
User offline. Last seen 2 years 19 weeks ago. Offline
Joined: 06/23/2008
Posts: 591
Re: Debug peoplecode

2 ways to trace and debug your PeopleCode. You have Application Engine debug setup and/or PIA debug setup.
See the following post for how to trace application engine peoplecode. For PIA debug setup, all what you need to do is add ?cmd=login&trace=y to the end of your login url, pick your PeopleCode trace settings and that's it. You trace log will get created on the application server (please check w/ your PS admin for more assistance on how to get the file).

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

jej1216's picture
User offline. Last seen 12 years 22 weeks ago. Offline
Joined: 06/20/2008
Posts: 1
Re: Debug peoplecode

For 8.9:

Navigate to the point prior to the code you want to trace.

Open a new window and navigate to PeopleTools >> Utilities >> Debug >> Trace PeopleCode.

Check the boxes of what trace level you want, and continue processing.

Check the server for the output of the trace.

rameshkrish's picture
User offline. Last seen 11 years 51 weeks ago. Offline
Joined: 09/25/2008
Posts: 6
Re: Debug peoplecode

my personal preference in debugging peoplecode is to use function settracepc as needed. It helps avoid all the junk the trace otherwise would generate.