IT Community - Software Programming, Web Development and Technical Support

How do I use JDWPI to debug a MIDlet running in the Wireless Toolkit's emulator?

This is a discussion on How do I use JDWPI to debug a MIDlet running in the Wireless Toolkit's emulator? within the Mobile Software Development forums, part of the Software Development category; How do I use JDWPI to debug a MIDlet running in the Wireless Toolkit's emulator?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Mobile Software Development

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-23-2007, 10:41 PM
mobilegeek mobilegeek is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 205
mobilegeek is on a distinguished road
Question How do I use JDWPI to debug a MIDlet running in the Wireless Toolkit's emulator?

How do I use JDWPI to debug a MIDlet running in the Wireless Toolkit's emulator?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-23-2007, 10:43 PM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Default Re: How do I use JDWPI to debug a MIDlet running in the Wireless Toolkit's emulator?

To access the emulator using sockets, start the emulator and include the following command line argument:

-Xrunjdwp: transport=dt_socket, address= [the local port], server=y, suspend=y

Replacing [the local port] with an available port number. Then, give the same port
number to your debugger in order to connect to the emulator.

To access the emulator using shared memory, start the emulator and, instead of specifying a port, specify the name of the shared memory page using the following command line argument:

-Xrunjdwp: transport=dt_shmem, address= [the shared memory page], server=y, suspend=y

Replacing [the shared memory page] with a unique memory page name. Then give the same name to your debugger in order to access the shared memory.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I got OnInitDialog bug in the emulator? oxygen Mobile Software Development 1 07-30-2007 05:23 AM
WM 6 emulator not accessing web projects on my machine :( theone Windows Mobile 1 07-27-2007 05:45 AM
When running my MIDlet, a security alert is displayed and cannot be dismissed. ? mobilegeek Mobile Software Development 1 07-25-2007 11:19 PM
Explain the purpose of Disable the Debug Mode or Set Debug ="false" oxygen ASP and ASP.NET Programming 1 07-20-2007 06:22 AM
Determining Midlet Launches jeyaprakash.c Mobile Software Development 0 05-07-2007 08:31 AM


All times are GMT -7. The time now is 12:45 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0