In addition to debugging an application, you can run it on the desktop in test mode. In test mode, the application responds to user interaction and continues to run until you exit the application or a runtime error occurs. You can rely on the default runtime error reporting by PocketBuilder or write a script that specifies your own error processing.
You can also generate a diagnostic trace of your application's execution. For how to analyze your application’s logic and performance, see Chapter 26, “Tracing and Profiling Applications.”