Abstract
Mobile Java development using CLDC and MIDP can be very restricting, not only because of the more restricted libraries and older Java language, but also because some very basic development tools are not available in many situations. One of the biggest problems when debugging a midlet – a CLDC/MIDP application – is that when running a mobile Java application in a real device, stack traces are not available. Also other tools, like profiling tools, only work in certain emulators. In this paper, a set of improved tools for mobile Java development is introduced. Instrumentation, a well-known technique is used to work around the restrictions of the Java sandbox. Consequently no special support is required from the platform.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
JavaTM2 Platform Standard Edition 1.3 API specification, http://java.sun.com/j2se/1.3/docs/api/ (accessed on February 2010)
JavaTM2 Platform Standard Edition 1.4 API specification, http://java.sun.com/j2se/1.4.2/docs/api/ (accessed on February 2010)
JavaTM2 Platform Standard Edition 5.0 API specification, http://java.sun.com/j2se/1.5.0/docs/api/ (accessed on February 2010)
Arnold, K., Gosling, J., Holmes, D.: The JavaTMProgramming Language, 4th edn. Addison-Wesley (April 2008)
Lau, A.: The fragmentation effect. JavaWorld (May 2004), http://www.javaworld.com/javaworld/jw-05-2004/jw-0524-fragment.html
Lindholm, T., Yellin, F.: The JavaTMVirtual Machine Specification, 2nd edn. Prentice-Hall (April 1999), http://java.sun.com/docs/books/jvms/
Sun Microsystems, Inc. Connected Limited Device Configuration (CLDC) Specification 1.1 (March 2003), http://jcp.org/aboutJava/communityprocess/final/jsr139/
Sun Microsystems, Inc. Mobile Information Device Profile (MIDP) Specification 2.1 (June 2006), http://jcp.org/aboutJava/communityprocess/mrel/jsr118/
Tanter, É., Ségura-Devillechaise, M., Noyé, J., Piquer, J.: Altering Java Semantics via Bytecode Manipulation. In: Batory, D., Blum, A., Taha, W. (eds.) GPCE 2002. LNCS, vol. 2487, pp. 283–298. Springer, Heidelberg (2002)
Topley, K.: J2ME in a Nutshell. O’Reilly (March 2002)
Wilson, S., Kesselman, J.: JavaTMPlatform Performance: Strategies and Tactics. Addison-Wesley (June 2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 ICST Institute for Computer Science, Social Informatics and Telecommunications Engineering
About this paper
Cite this paper
Kallioinen, O., Mikkonen, T. (2012). Debugging Tools for MIDP Java Devices. In: Gris, M., Yang, G. (eds) Mobile Computing, Applications, and Services. MobiCASE 2010. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 76. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-29336-8_5
Download citation
DOI: https://doi.org/10.1007/978-3-642-29336-8_5
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-29335-1
Online ISBN: 978-3-642-29336-8
eBook Packages: Computer ScienceComputer Science (R0)