The Artima Developer Community
Sponsored Link

Java Buzz Forum
Eclipse-J2ME Debugging

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Fred Grott

Posts: 4361
Nickname: shareme
Registered: Jan, 2003

Fred Grott is Lead Developer-CEO of ShareMe Technologies LLC -The Mobile Future
Eclipse-J2ME Debugging Posted: Jul 7, 2003 4:12 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Fred Grott.
Original Post: Eclipse-J2ME Debugging
Feed Title: ShareMe Technologies-The Mobile Future
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: A Weblog about Java programming and digital convergence on mobile devices in such areas as P2P and collaborative technology. Old Archive .
Latest Java Buzz Posts
Latest Java Buzz Posts by Fred Grott
Latest Posts From ShareMe Technologies-The Mobile Future

Advertisement
This tip comes to us from Ludovico Cellentani-Zetha Gamez via SE-MobilityWorld forums. To get adebug session in J2ME emulators using Eclipse follow these steps:

1. Start emulator

D:\wtk104\bin\emualtor -classpath midlet.jar
-Xdevice;Series_60_MIDP_SDK_Concept_Beta_0_2
-Xdescriptor:midlet.jad
-Xdebug
-Xrunjdwp:transport=dt_socket,address=8000,server=y

2. Inside Eclipse open remote debugging session on port 8000. debug session classpath should be pointed to location of emulator.jar package.

Asuming that Nokia, Siemens , and etc have emualtor the server feature in Sun's wtks with their own J2ME emualtors; you should be able to also use this trick on Nokia, Siemens , and etc emulators.

I should note that it only connects the first time to debug session. When doing multiple debug session via running midlets more than once, you will have to restart the debug session by reconnecting to anew midlet run.

Read: Eclipse-J2ME Debugging

Topic: The Curse of ' Previous Topic   Next Topic Topic: Javaverified.com

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use