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.
In Package Explorer, highlight the desired project.
In the menu bar, select Run
-> Debug.
The Debug window opens.
In the Configurations field, click New.
New configuration (1) appears under MTJ Application
On the right-side pane , you can: