MIDlet Debugging Setup
In CodeWarrior Wireless Studio, use the Java Target settings panel (Figure 15) in the
Target Settings window to specify:
•
Virtual Machine: Mot J2ME SDK 3 E7.5
•
Target device: Simulator
•
Simulator Config. File: Motorola T720
Figure 15.
Debugging a MIDlet
To debug a MIDlet using the CodeWarrior IDE:
1
2
3
4
The CodeWarrior IDE starts the VM you specified in Java Target settings panel, runs the
MIDlet in that VM, then halts execution in the CodeWarrior Debugger.
32
Java Target settings panel showing debug setting for Motorola T720
Make sure the MIDlet project is open in the Project window.
Make sure the current build target is the one you want to debug.
Makes sure the Java Target setting panel options for Virtual Machine, Simulator,
and Simulator Config. File are set correctly.
Select Project > Debug from the main menu bar.