Two of the most important tools you have in your debugging arsenal are a number of flags you can set during a sync and source-level debugging in CodeWarrior. After we discuss these, we give some advice on specific problems you might encounter.
Last but not least, we will look at how to clean things up. Mucking about in your conduit code is a good way to mess things up; we show you how to tidy up the registry when you are through.
You can launch a sync with several different flags that give you information on what is occurring. These useful flags are:
Different verbose mode
Different verbose mode with packet information
Besides these flags there is another flag,
that you can use to verify your connection.
If you want to run HotSync in verbose
mode, you set the
-v flag by hand from the Run
If you are already running HotSync, you need to exit before you can launch it by hand. Just choose Exit from the menu (see Figure 14.1).
Figure 14-1. Exiting the running version of HotSync
Once you are in HotSync verbose mode, the log contains a great deal of additional information regarding its activities. Here’s an example verbose log (abridged for space):
---Initializing User Manager--- ---Discovering Communication State--- ---Identifying Viewer user--- ...