Exit Print View

Java Platform Micro Edition Software Development Kit Version 3.0

Get PDF Book Print View

Document Information

Getting Started

Java ME Platform SDK Features

Using Sample Projects

Creating and Editing Projects

Viewing and Editing Project Properties

Running Projects in the Emulator

Searching the WURFL Device Database

Finding Files in the Multiple User Environment

Profiling Applications

Monitoring Network Traffic

Lightweight UI Toolkit

Security and MIDlet Signing

BD-J Support

CLDC Emulation on a Windows Mobile Device

Installing CLDC Emulation on a Windows Mobile Emulator

On-device Debugging

On-device Debugging Procedure

Attach a Command Line Debugger

Attach a Graphical Debugger

Sample CLDC Debugging Session

Command Line Reference

Logs

JSR Support

JSR 75: PDA Optional Packages

JSR 82: Bluetooth and OBEX Support

JSR 135: Mobile Media API Support

JSR 172: Web Services Support

JSR 177: Smart Card Security (SATSA)

JSR 179: Location API Support

JSRs 184, 226, and 239: Graphics Capabilities

JSR 205: Wireless Messaging API (WMA) Support

JSR 211: Content Handler API (CHAPI)

JSR 238: Mobile Internationalization API (MIA)

JSR 229: Payment API Support

JSR 256: Mobile Sensor API Support

Index

On-device Debugging Procedure

Before starting this procedure ensure your environment is properly configured:

This procedure features command line debugging, but you can use a graphical debugger in a similar fashion.

  1. Select the project you want to debug and select Run > Run Project in Debug Mode or click the Run Main Project in Debug mode icon on the toolbar.

    The first time you debug you see this dialog.

    run in debug mode note with port
  2. Make note of the debugging port for the device, and click OK. If you suppress this dialog you can still get the port number from the Output window. Look for the message “Starting emulator with port number port-number”.

    The application is now deployed and started on the connected device. You are ready to attach a debugger.

    See Attach a Command Line Debugger, Attach a Graphical Debugger and Sample CLDC Debugging Session