Remote Debugging
1. Start a JPZEXEC job on the host (z/OS) side that uses a RUNOPT member in which the configuration properties jopaz.rundebug=2 and jopaz.debug.port=your-port are set.
The following message should be displayed in the job spool:
Debugger listening on port your-port ....
2. Open the debug configuration settings through Run > Debug Configurations > Jopaz Remote Application > your_saved_configuration.
3. Start the remote debugging process by clicking Debug.
The debugging should start in a short time and a new instance of your configuration is created.
You can see the instance in the Eclipse Debug view.
4. As soon as the debugging instance is started, you can change the format of the source code in the debugging mode by selecting COBOL Source > Format > your preferred appearance.
5. You can now perform the desired operations, such as setting breakpoints and stepping through the single instructions.
Note:
For the next remote debugging run, you no longer need to go through the debug configuration menu. You can simply start the debugger through the bug icon in the toolbar.
Your recently used remote debug configurations are listed in the small drop-down menu next to the bug icon, where you can easily select them.