Understanding the PeopleCode Debugger

The PeopleCode debugger is an integrated part of Application Designer. The interface to the debugger has a visual indicator of breakpoints, an arrow indicating the current line, and the ability to step through code. You can inspect the value of a variable by holding the cursor over it and reading the pop-up bubble help. The debugger also provides variable inspection windows for global variables, local variables, function parameters, and component-scoped variables. It also enables PeopleCode objects to be expanded, so you can inspect their component parts.

Note: Do not try to use the PeopleCode debugger with the SwitchUser function. Only the first user is logged into the PeopleCode debugger. Once the switch occurs, breakpoints, logging, and so on are no longer executed.