Hi
Some specs from my test-bed
eclipse: 3.2.1
eclipseme plugin: 1.6.5
Wireless Toolkit for CLDC 2.5
1. Compiled sample MIDLET and successfully run it in debug mode (not OTA)
2. Due to Midlet using PushRegistry I needed it to run debug in OTA mode
a.) switched to OTA debug mode
b) in Extra Emulator Parameters added Xjam:run
c) started debug
Received following stack trace in the console (below) and emulator was
terminated
I have hard time to find good resource on eclipseme OTA debugging is someone
could point
out good resource and/or pointers on what is going wrong below I shall be
forever in debt!
very best and thanks for the plugin!
--------------------------------------- CONSOLE TRACE
------------------------------------------
Connecting to 127.0.0.1 on port 2800
Waiting for debugger on port 1399
Waiting for KVM...
Running with storage root temp.DefaultColorPhone52
Running with locale: English_United States.1252
Invalid argument
"-Xjam:transient=http://localhost:3483/ota/midlet_example/midlet_example.jad"
Usage: midp [<options>]
Run the Graphical MIDlet Suite Manager.
or midp [<options>] -autotest [-domain <dname>] <descriptor URL>
Install, and run MIDlet number 1, and remove a MIDlet repeatedly.
Overwrite the existing suite and removing the RMS data if
necessary. Stop and remove the previously installed test suite
when a 404 code is received from the server. Use the maximum
security domain when installing unsigned suites so that all
permissions are allowed, but not requested.
-domain: security domain to use for installing unsigned suites
or midp [<options>] -transient [-force] [-domain <dname>] [-removeRMS]
<descriptor URL> [<MIDlet name>]
Install, run, and remove a MIDlet.
-force: Force the installed version to be overwritten
-domain: security domain to use for installing unsigned suites
-removeRMS: Remove the RMS data when overwriting a suite
or midp [<options>] -install [-force] [-domain <dname>] [-removeRMS]
<descriptor URL>
Install a MIDlet suite using the URL of a descriptor.
-force: Force the installed version to be overwritten
-domain: security domain to use for unsigned suites
-removeRMS: Remove the RMS data when overwriting a suite
or midp [<options>] -run (<suite number> | <storage name>)
[<name of MIDlet to run>]
Run a MIDlet of an installed suite. If the name or number of the
MIDlet is not provided and the suite has multiple MIDlets,
the user will be prompted to select a MIDlet from the
suite to run.
or midp [<options>] -remove (<suite number> | <storage name> | all)
Remove an installed MIDlet suite or all suites.
or midp [<options>] -list
List the installed MIDlet suites by number and name.
or midp [<options>] -storageNames
List the unique storage names of the installed MIDlet suites,
one per line.
or midp -version
Show version information and exit.
or midp -help
Show this message and exit.
where <suite number> is the number of a suite as displayed by the list
command,
<storage name> is the unique name a suite is stored by,
<dname> is the name of a domain in the security policy file,
and <options> include:
-classpath <path> directories and zip files to search for classes
-D<property>=<value> Override configuration file settings
-heapsize <size> (e.g. 65536 or 128k or 1M)
and these debugging options:
-debugger
-suspend
-nosuspend
-port <port number>
and these tracing options:
-traceallocation
-tracegc
-tracegcverbose
-traceclassloading
-traceclassloadingverbose
-traceverifier
-tracestackmaps
-tracebytecodes
-tracemethods
-tracemethodsverbose
-tracestackchunks
-traceframes
-traceexceptions
-traceevents
-tracemonitors
-tracethreading
-tracenetworking
-tracedebugger
-traceall (activates all tracing options above)
Connection received.
---------------------------------
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users