Palm Reporter
The Palm Reporter is a standalone trace utility that can be used to display real-time trace output from the Palm OS Emulator (POSE).[65] The Reporter is especially important since you cannot execute Visual Basic code step by step, or set breakpoints, after compiling the code and installing it on the Palm. To use the Reporter, you simply run it and POSE at the same time. With the Reporter installed, you may configure POSE to send trace output to a file or to the Reporter application.
AppForge’s Debug module
includes
a
Print method, which sends its output to the
Immediate window in Visual Basic and to the
Reporter on POSE. Example 10-2 contains the code from
Example 10-1, modified to use this method.
Example 10-2. Conditional compilation example
#Const AFDEBUG = 1
Private Sub Form_Load( )
'Form initialization ...
txtFlow.Text = 150
#If AFDEBUG Then
Debug.Print "txtFlow.Text = " + txtFlow.Text
#End If
End Sub[65] The Palm Reporter can be downloaded freely from the same site where POSE is obtained. We do not cover the installation and use of the Reporter in this chapter.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access