Skip to main content

Debugging Tools for MIDP Java Devices

  • Conference paper
Mobile Computing, Applications, and Services (MobiCASE 2010)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. JavaTM2 Platform Standard Edition 1.3 API specification, http://java.sun.com/j2se/1.3/docs/api/ (accessed on February 2010)

  2. JavaTM2 Platform Standard Edition 1.4 API specification, http://java.sun.com/j2se/1.4.2/docs/api/ (accessed on February 2010)

  3. JavaTM2 Platform Standard Edition 5.0 API specification, http://java.sun.com/j2se/1.5.0/docs/api/ (accessed on February 2010)

  4. Arnold, K., Gosling, J., Holmes, D.: The JavaTMProgramming Language, 4th edn. Addison-Wesley (April 2008)

    Google Scholar 

  5. Lau, A.: The fragmentation effect. JavaWorld (May 2004), http://www.javaworld.com/javaworld/jw-05-2004/jw-0524-fragment.html

  6. Lindholm, T., Yellin, F.: The JavaTMVirtual Machine Specification, 2nd edn. Prentice-Hall (April 1999), http://java.sun.com/docs/books/jvms/

  7. Sun Microsystems, Inc. Connected Limited Device Configuration (CLDC) Specification 1.1 (March 2003), http://jcp.org/aboutJava/communityprocess/final/jsr139/

  8. Sun Microsystems, Inc. Mobile Information Device Profile (MIDP) Specification 2.1 (June 2006), http://jcp.org/aboutJava/communityprocess/mrel/jsr118/

  9. 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)

    Chapter  Google Scholar 

  10. Topley, K.: J2ME in a Nutshell. O’Reilly (March 2002)

    Google Scholar 

  11. Wilson, S., Kesselman, J.: JavaTMPlatform Performance: Strategies and Tactics. Addison-Wesley (June 2000)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics