Exit Print View

Java Platform Micro Edition Software Development Kit Version 3.0, Mac OS

Get PDF Book Print View

Document Information

Getting Started


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

Network Monitoring

Lightweight UI Toolkit

Security and MIDlet Signing

CLDC Emulation on a Windows Mobile Device

Installing CLDC Emulation on a Windows Mobile Emulator (Windows Only)

On-device Debugging

On-device Debugging Procedure

Wireless Debugging Procedure

Attach a Command Line Debugger

Attach a Graphical Debugger

Sample CLDC Debugging Session

Command Line Reference


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

JSR 180: SIP Communications

JSR 184: Mobile 3D Graphics

JSR 205: Wireless Messaging API (WMA) Support

JSR 211: Content Handler API (CHAPI)

JSR 226: Scalable 2D Vector Graphics

JSR 229: Payment API Support

JSR 238: Mobile Internationalization API (MIA)

JSR 256: Mobile Sensor API Support


Attach a Graphical Debugger

This procedure describes how to attach the NetBeans graphical Java debugger (JPDA).

  1. If you want to set line breakpoints, open the project you deployed on the connected device in NetBeans.
  2. Select Debug > Attach Debugger.
  3. In the Attach window, choose Java Debugger from the Debugger list, and choose SocketAttach from the Connector list.

    You are prompted for connection settings:

    • Transport: your choice

    • Host: localhost, or leave as is

    • Port: the port number of the device running in debug mode.

  4. Click OK.

    The NetBeans debuggertries to connect.

Related Information