Generating a trace file without timing information

If you want to generate an activity log with no timing information in a text file, you can turn on PKDebug tracing in the System Options dialog box. The PKDebug trace file contains a log showing which object functions and instructions and system DLL functions were executed in chronological order.

StepsTo generate a simple trace file:

  1. Select Tools>System Options and check the Enable PKDebug Tracing check box.

  2. Check the Prompt Before OverWriting PKDebug Output File box if you want to retain existing trace output when you run or debug the application.

  3. (Optional) Specify a path name for the PKDebug output file.

  4. Run your application.

If you do not check the Prompt Before OverWriting PKDebug Output File box, PocketBuilder overwrites the existing trace file every time you run the application or click the Start button in the debugger. If you check the box, it displays a response window. You can choose to overwrite the file, append new trace output to the existing file, or cancel the run or debug session.

If you want to retain the trace file, save it with a different name before running the application, or specify a new file name in the System Options dialog box.

If you do not specify an output file path, PocketBuilder creates an output file in the same directory as the PocketBuilder executable file. The output file has the same name as the PocketBuilder executable with the extension DBG. If you do not have write permission to this directory, you must specify a value for the output file path.

NoteTurning PKDebug off Running your application with PKDebug on slows down execution. Be sure to clear the Enable PKDebug Tracing check box on the System Options dialog box if you do not need this trace information.