Sun Microsystems J2ME manual Debugging, Remove=storagename storagenumber all

Models: J2ME

1 134
Download 134 pages 62.02 Kb
Page 119
Image 119

remove=[<storage_name> <storage_number> all]

Remove a previously installed application. The application is specified by its valid storage name or storage number. Specifying all, all previously installed applications are removed.

transient=<jad_file_url>

Install, run, and remove the application with the specified JAD file. Specifying transient causes the application to be installed and run and then removed three times.

B.2.4 Debugging

You can use the following options with the emulator for debugging and tracing.

-Xverbose:<trace_options>

Display trace output, as specified by a list of comma-separated options:

class : trace class loading

gc : trace garbage collection

all : use all tracing options

-Xdebug

Enable runtime debugging. The -Xrunjdwpoption must also be used.

-Xrunjdwp:<debug_settings>

Start a JDWP debug session, as specified by a list of comma-separated debug settings. The -Xdebugoption must also be used. Valid debug settings include:

transport=<transport_mechanism>

The transport mechanism used to communicate with the debugger. The only transport mechanism supported is dt_socket.

address=<host:port>

The transport address for the debugger connection. You can omit providing a host. If host is omitted, localhost is assumed to be the host machine.

server={yn}

Start the debug agent as a server. The debugger must connect to the port specified. The possible values are y and n. Currently, only y is supported (the emulator must act as a server).

Appendix B Command Line Reference 107

Page 119
Image 119
Sun Microsystems J2ME manual Debugging, Remove=storagename storagenumber all