To display a summary of the command line options in the SDK, enter emulator -help or SDK -help. The command displays a list of the options that work with the executable in the command window. The -help option must be the only option in a command.
Trace output displays within the output window of an IDE or within the SDK DOS Console when you run the SDK as a standalone application. For information on how to set up the tracing, see Setting MIDP tracing and speed options.
The following tracing options apply only to Java output:
Option |
Prints |
Use with |
-Xverbose:allocation |
Memory allocation trace |
emulator.exe |
-Xverbose:class |
Class loading trace |
emulator.exe |
-Xverbose:gc |
Garbage collection trace |
emulator.exe |
-Xverbose:gcverbose |
Verbose garbage collection trace |
emulator.exe |
-Xverbose:threading |
All threads in the system |
emulator.exe |
-Xverbose:classverbose |
Verbose class loading trace |
emulator.exe |
-Xverbose:verifier |
Verifier trace |
emulator.exe |
-Xverbose:stackmaps |
Stackmap trace |
emulator.exe |
-Xverbose:bytecodes |
Byte code trace |
emulator.exe |
-Xverbose:method |
Method trace call |
emulator.exe |
-Xverbose:methodcallsverbose |
Verbose method call trace |
emulator.exe |
-Xverbose:stackchunks |
Stackchunk trace |
emulator.exe |
-Xverbose:frames |
Frame trace |
emulator.exe |
-Xverbose:exceptions |
Exception trace |
emulator.exe |
-Xverbose:events |
Event trace |
emulator.exe |
-Xverbose:monitors |
Monitor trace |
emulator.exe |
-Xverbose:networking |
Networking trace |
emulator.exe |
-Xverbose: -Xverbose:all |
Enable all Java traces |
emulator.exe |