Nokia s40 On-Device Debugging

This tutorial explains how to get started with debugging Nokia series 40 on real device. You can debug with your favorite IDEs, Eclipse, Netbeans, or Nokia IDE for Java ME. In this case I use Nokia IDE for Java ME v1 that is provided by Nokia.

1. Download on-device debugging tool for series 40
Update link: Download

2. Extract file to drive C. You will get C:\myplatform. (Must be drive C and folder named myplatform.)

3. Add debugger device
3.1 Open your IDE and go to Preferences > Java ME > Device Management.
3.2 Click Manual Install…

Nokia IDE - Install device debugging

3.3 Browse to C:\myplatform\bin, it will find debugger and will be shown at devices list, 3.4 click Finish.

4. Create debug configuration
4.1 At navigation bar go to Run > Debug Configurations.
4.2 New launch configuration and title the name.
4.3 On tab MIDlet, browse to JAD file of your application.

Nokia IDE - create debug config

4.4  On tab Emulation, specific SDK to series 40 on-device debugger.

Nokia IDE - select debug emulation

5. Add the debug client to your device.
5.1 Go to C:\myplatform\application
5.2 Install Debugger.jar to your device

6. Set up device connection
6.1 Go to C:\myplatform\bin
6.2 Run ConnectionManager.exe
6.3 Click Add device…
Nokia - Connection Manager
6.3.1 Option 1 connect via Bluetooth
Turn on Bluetooth both your computer and device.
On your device
– Choose connect by Bluetooth.
– The Bluetooth device address will be shown.
On your computer
– Click Next and then click search.
– You should see the device IDs that match with your device.
– Click Connect.

6.3.2 Option 2 connect via IP Connection
Connect your computer and device to network.
On your computer
– Click Next and then click Connect.
– Waiting for IP device to connect.
On your device
– Choose connect by IP Connection.
– Edit host address to your computer IP address, leave the port to 1976.
– Click Action Menu > Connect

7. Run debug with debug configuration that you created.

All done!! Have fun with debugging on s40.

10 thoughts on “Nokia s40 On-Device Debugging

  1. Hi,
    Great tutorial but link below is not working

    Download on-device debugging tool for series 40

    Can you please provide alternative link?

  2. Your style is really unique compared to other people I have read
    stuff from. I appreciate you for posting when you’ve got the opportunity,
    Guess I will just bookmark this blog.

  3. Hello,
    Awesome tutorial but I’m having Nokia N97 mobile

    So it will works on-device debugging tool for series 60

    Can you please provide a solution for that?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s