Debugging applications

MTJ uses Eclipse's built-in debug function in debugging the Java ME applications.

To debug an application

As a prerequisite for debugging, insert breakpoints into your code before debugging.

  1. In Package Explorer, highlight the desired project.

  2. In the menu bar, select Run -> Debug.
    The Debug window opens.

  3. In the Configurations field, click New.
    New configuration (1)
    appears under MTJ Application

  4. On the right-side pane , you can:

  5. Select Debug.
    The bugs are listed in the Debug perspective.


Mobile Tools for the Java Platform

Applications


Managing applications


Wizards