Create a debug package manually

You can create a debug package from the Windows version of a BlackBerry® Smartphone Simulator. You can use the debug files to debug your BlackBerry device application on a BlackBerry device that is connected to your Mac computer by a USB cable.
Before you begin: Visit www.blackberry.com/developers/simulators to download the Windows version of the BlackBerry Smartphone Simulator that matches the version of the BlackBerry Device Software that is installed on your device. You must install the BlackBerry Smartphone Simulator in a Windows environment, for example by using VMware on a Mac or on a computer that is running Windows.
  1. In a Windows environment, extract the simulator bundle to a folder on your hard disk.
  2. In the <device>.xml file, verify that the <platformVersion> attribute matches the version of the BlackBerry Device Software on the device.
  3. In the folder where you extracted the simulator bundle, add the following files to a zip file:
    • .../Debug/...<subdirectory>/*.debug
  4. Name the .zip file debug_x.x.x.xxx_yyyy.zip where x.x.x.xxx is the version of the BlackBerry Device Software and yyyy is the model number of the device, for example debug_6.0.0.246_9800.zip.
  5. Extract the debug_x.x.x.xxx_yyyy.zip to a folder on your Mac computer.
After you finish: To learn how to use the debug files, see Debug a BlackBerry device application by using a debug package.

Was this information helpful? Send us your comments.