To debug the HelloWorld
sample from the command line:
- Open a Command Prompt window and perform the following:
- Navigate to the
JC_HOME_SIMULATOR\bin
directory. - Start the simulator by entering the following command at the command prompt:
cref –o hello.eeprom
Note:
The
-o
command line option instructscref
to save the EEPROM data to thehello.eeprom
file before terminating.
- Navigate to the
- Open a second Command Prompt window and perform the following:
- Navigate to the
JC_HOME_SIMULATOR\samples\classic_applets\HelloWorld\applet
directory. - Open the
applet.opt
file in a text editor and add a new line with-debug
option. This option will be passed to the converter to generate debug information. - At the command prompt, invoke
ant
with a target set toall
. The output file
- Navigate to the