MIDPLogger and on device debugging


"LISTEN, KID, HOW MANY TIMES DO I HAVE TO EXPLAIN IT TO YOU…BUGS DON’T BECOME PROGRAMMERS."

No all the MIDP phones support on-device debugging. All Java phones from Motorola iDEN support debugging on actual devices through HyperTerminal. Sony Ericsson T610 supports debugging through a bluetooth connection. For other phones that do not support on-device debugging directly, you may write your own logging utility or try MIDPLogger:

"To help debug issues that exist when running a MIDlet on device, MIDPLogger provides an on-device log file, log writer and log viewer capability. By integrating the MIDPLogger class within your MIDLet, you can write debug/trace information to an on-device database (and also to the console if you like, for when you are running in your emulator). You can browse and otherwise manage the on-device log file using the MIDPLogViewer MIDlet, by adding it to your MIDlet suite."

Other platforms:

BREW: You can connect your phone using a USB cable and use the BREW logger utility.
Symbian: Check this article on NewLC: On Target debugging with Series 60 devices.

No comments yet.

Write a comment:

*
To prove you're a person (not a spam script), type the answer to the math equation shown in the picture. Click on the picture to hear an audio file of the equation.
Click to hear an audio file of the anti-spam equation