Debug the j2_based program on the Nokia platform in eclipse

Source: Internet
Author: User

Author: Floating white clouds

1. Install development tools:

Required:
Eclipse IDE 3.1 (http://www.eclipse.org)
Nokia developer's suite 3.0.1 for J2EE (www.forum.nokia.com/tools)
Nokia prototype SDK 3.0 for J2EE (www.forum.nokia.com/tools)
Other options:
Nokia series 60 Platform 2.0 SDK (www.forum.nokia.com/tools, download fp3.pdf to integrate with eclipse 3.1)

Install the above tools in sequence. You can choose to integrate with eclipse during installation. After installation, you can see the Nokia simulator icon in the eclipse toolbar, click this icon to add the Nokia SDK and select the installation directory of the Nokia prototype SDK 3.0 for J2EE.

2. debugging settings:
Window-> preferences-> JAVA-> debug options do not select the temporarily executed settings, and the following time settings are set to more than 20000. in the customization window-> perspective-> JAVA, select the MIDP Project (Nokia SDK plug-in). In this way, you can quickly create a MIDP project based on Nokia, it can also be debugged.

3. Read the User Guide under/doc in the installation directory of Nokia prototype SDK 3.0 for j2s and learn how to build a j2s project based on Nokia SDK.

4. debugging shortcut:
CTRL + Shift + B set/remove breakpoints
F5 step
F6 step over
F7 step return
F8 resume
Sihft + F5 use step Filters
CTRL + R execute to the specified row (you can specify the row with the mouse)
CTRL + Shift + D display the current value of the selected variable
CTRL + Shift + I display the expression value and expression debugging window

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.