You can debug Java™ programs and native method programs at the same time. While you are debugging your source on the interactive display, you can debug a native method that is programmed in C, which is within a service program (*SRVPGM). The *SRVPGM must be compiled and created with debug data.
The easiest way to debug Java programs and native method programs (or service programs) is to use the IBM® iSeries™ System Debugger. The IBM iSeries System Debugger provides a graphical user debugging environment on your iSeries server. For more information about using the iSeries System Debugger to debug and test programs that run on your iSeries server, see IBM iSeries System Debugger.
To use the interactive display of the server to debug Java programs and native method programs at the same time, complete the following steps: