This new user interface has been designed to streamline debugging tasks and has a host of usability improvements such as persistent break points, watch lists, etc. It is written in Java and to use it you need to have the latest Java Runtime Environment (JRE) or Java Development Kit (JDK) installed.
You also need to copy
cw_java.jar from the
Bin directory in the installation of your development system to the
debug directory under
$HOME/nxopdemo
Which debugger you use is controlled by an environment variable:
- MF_USE_JAVA_CW=Y, if you want to use the Java debugger.
- MF_USE_JAVA_CW=N, if you want to use the standard debugger.
To see some of the Java debugger's facilities:
- When the Java debugger runs, you will see the source code displayed on the left and some panels on the right.
- Scroll down in the source code panel until you can see the line beginning with
SYSPRINT_BUFF = 'ABC...
- Double-click on this line to set a breakpoint at this instruction.
- Click
on the top left of the debugger to continue to this breakpoint.
- Click
to step over this line.
- Place the mouse cursor above the word
SYSPRINT in the source code panel to see the contents of this variable.
- Right-click on the word
SYSPRINT and click
Add 'SYSPRINT' to watch panel to make it a permanent watch item.
- You can keep stepping at this point or press the
in the top right corner to close the debugger.