This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to debug with J2MEWTK?

 
Horaci Macias
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody know how to debug with Sun's J2ME Wireless Toolkit ?
Thank you,
Horaci Macias
 
sing
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that's only display error on console.
 
M.K.A. Monster
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Horaci Macias:
Does anybody know how to debug with Sun's J2ME Wireless Toolkit ?
Thank you,
Horaci Macias

Debugging
The recommende way to debug a project is to use an IDE such as the Forte for Java IDE. However, you can debug an application from within KToolbar by connecting to remote debugging facilities, perhaps from an IDE.
To debug an application under KToolBar:
1. Select Debug -> Projects from the menu.
The dialog asks you to enter a TCP/IP port number which the external debugger can use to connect to the emulator.
2. Enter a TCP/IP port.
In moste cases you can use the default value, but you should use another value if another application is using this port, or if you encounten problems connecting to the emulator from the debugger.
3. Click Debug.
The emulator begins running in debugging mode, and waits for a connection from a debugger.
4. Start the remote debugger and attach it to the TCP/IP port you specified in step 2.
Make sure to set the remote debugger to run in remote mode and to use TCP/IP. For more information, consult the debugger's documentation.
Regards,
Mark Monster
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic