Use the Profiling tab on the System Options dialog box if you want to collect trace data for an entire application run in the PocketBuilder development environment.
To trace an entire application in PocketBuilder:
Select Tools>System Options from the PowerBar and select the Profiling tab.
Specify a name for the trace file, select the trace options you want, and click OK.
When you run the application, the activities you selected are logged in the trace file.