Mobile Computing, Applications, and Services. Second International ICST Conference, MobiCASE 2010, Santa Clara, CA, USA, October 25-28, 2010, Revised Selected Papers

Research Article

Debugging Tools for MIDP Java Devices

Download167 downloads
  • @INPROCEEDINGS{10.1007/978-3-642-29336-8_5,
        author={Olli Kallioinen and Tommi Mikkonen},
        title={Debugging Tools for MIDP Java Devices},
        proceedings={Mobile Computing, Applications, and Services. Second International ICST Conference, MobiCASE 2010, Santa Clara, CA, USA, October 25-28, 2010, Revised Selected Papers},
        proceedings_a={MOBICASE},
        year={2012},
        month={10},
        keywords={Mobile Java debugging},
        doi={10.1007/978-3-642-29336-8_5}
    }
    
  • Olli Kallioinen
    Tommi Mikkonen
    Year: 2012
    Debugging Tools for MIDP Java Devices
    MOBICASE
    Springer
    DOI: 10.1007/978-3-642-29336-8_5
Olli Kallioinen1,*, Tommi Mikkonen2,*
  • 1: Sasken Finland
  • 2: Tampere University of Technology
*Contact email: olli.kallioinen@sasken.com, tommi.mikkonen@tut.fi

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.