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  
Old 07-23-2007, 09: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
  #2  
Old 07-23-2007, 09:43 PM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 632
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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I got OnInitDialog bug in the emulator? oxygen Mobile Software Development 1 07-30-2007 04:23 AM
WM 6 emulator not accessing web projects on my machine :( theone Windows Mobile 1 07-27-2007 04:45 AM
When running my MIDlet, a security alert is displayed and cannot be dismissed. ? mobilegeek Mobile Software Development 1 07-25-2007 10:19 PM
Windows Mobile 5.0 PocketPC v2.0 emulator Bluetooth peripheral serial port mapping pr theone Mobile Software Development 1 07-25-2007 02:04 AM
Explain the purpose of Disable the Debug Mode or Set Debug ="false" oxygen ASP and ASP.NET Programming 1 07-20-2007 05:22 AM


All times are GMT -7. The time now is 03:38 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0