Debug Proxy Options

To run the debug proxy from the command line, use the following command syntax:

java –jar jc-debug-proxy.jar <debug proxy arguments>

The command line arguments for the debug proxy are:

Command Line Argument Description
-help Short description of help.
-debug-info The source debug-info file that contains debug information for system classes.
-gen-debug-info Starts debug proxy in generate debug-info mode  to generate the system classes debug information file using .exp files found on the provided path.
-port  The port that the Java debugger connects to. Default value: 8000.
-vmPort  The port that the VM listens on. Default value: 9090.
-vmHost The hostname of the system the VM is running on. Default value: localhost.
-capPath Required. Path to the cap file(s) being debugged.

For example:

java -jar jc-debug-proxy.jar -capPath ${JC_HOME_SIMULATOR}/samples/HelloWorld/applet/deliverables/HelloWorld/com/oracle/jcclassic/samples/helloworld/javacard/helloworld.cap -vmPort 9090 -port 8000