334 Using IBM Application Development Tools for z/OS and OS/390
15.4 A debug session with the remote debugger
To show off the remote debugger, we will finish up debugging this problem with the IBM
Distributed Debugger. The first step is to start the distributed debugger listening using the
command:
C:\IBMDebug\bin\idebug.exe -qdaemon -quiport=8000
Our new intermediate PL/I program is called KNIGHTM and we invoke the remote debugger
to debug it using the following command as shown in Figure 15-12.
Figure 15-12 Invoking the remote debugger for our program with the interim fix
336 Using IBM Application Development Tools for z/OS and OS/390
The next recommended step is to place a breakpoint at the beginning of the actual program.
The remote debugger can sometimes jump directly to completion if you attempt to step at this
point without having a breakpoint, as shown in Figure 15-14.
Figure 15-14 After setting the breakpoint for before the call to initialize_Rankings
338 Using IBM Application Development Tools for z/OS and OS/390
Now the land array is the array that will hold the results (the final path across the chess
board), and we would like to monitor the changes in the land array. So we go to the
Breakpoints menu and select the Set Storage Change... Entry as shown in Figure 15-16.
Figure 15-16 Setting a storage change breakpoint
Get Using IBM Application Development Tools for z/OS and OS/390 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.