Debugging applications

This section describes how to set the example application debugging using WSDD, both locally and remotely, on various devices.

Debugging on the Palm using WSDD

To debug on the palm using WSDD:
  1. Install the j9_dbg_bundle.prc file on the target device before attempting to debug. This is located in C:\IBM\wsdd\wsdd4.0\ive\runtimes\palmos\68k\ive\bin.
  2. On on the target device, run prefs and navigate to the J9 Java VM section. Ensure that 'Enable Debug' is selected, otherwise you cannot debug an application.
  3. When the application launches (via wsddbuild.xml - launches), select debug rather than run.

Debugging on the PocketPC using WSDD

The files specified in the PocketPC: What you need to get started section include the necessary components to debug remotely. Simply launch the application using the debug command rather than the run command, as described in Debugging on the palm using WSDD.

Debugging locally using WSDD

Select debug rather than run to start the application.

Parent topic: Using WebSphere Studio Device Developer (WSDD)