1. Before launching the simulator you should change your timeout settings in Eclipse.
    1. Go to Eclipse Preferences
    2. Under Java -> Debug change the timeouts under the Communications section:
      1. Debugger Timeout should be 240000
      2. Launch Timeout should be 240000
  2. To launch the simulator create another external maven tool in Eclipse. It should have
    1. Name: mvn run simulator
    2. Location: ${mvn}
    3. Working Directory: ${project_loc}
    4. Arguments: -e -o com.metova:metova-maven-mobile:start-simulator

      Alternatively you can: Launch jdwp.bat from your jde bin directory. Configure your simulator but don't click Start Simulator (this is handled by connecting Eclipse in the next step)
  3. Attach the Eclipse debugger by:
    1. Selecting your project in Eclipse
    2. Going to "Debug As..." on the Run/Debug menu
    3. Adding a new Remote Java Application which connects on port 8000 to localhost.
      When you launch this debug configuration, while jdwp is running, it will start the simulator and output the logging to the output tab of jdwp.
  • To launch this at a later point you can click the down arrow next to the little bug icon in the Eclipse toolbar and select you project's name.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© 2011 Metova, Inc.