Rational Developer for System z, Version 7.6

Appendix E. Notes on debugging in remote debug mode

Debug Tool can run in remote debug mode, by using TCP/IP to connect to a remote debugger installed on your workstation. The following remote debuggers can be used:

When you specify the TCPIP& or VADTCPIP& suboption, if the default port number has been changed, you must specify the port number that the remote debugger is using to listen for a debug session. The remote debuggers use port 8001 as the default port number.

When you use remote debug mode, consider the following possible errors:

Tip on monitoring variables in optimized COBOL program

After you start the remote debugger and start your optimized COBOL program, do the following steps:

  1. Step into your program by using the Step Into button.
  2. Monitor a variable. The variable's name and current value are displayed in the Monitor window.
  3. Step through your program until you reach a statement that alters the value of the variable you are monitoring. If you attempt to run the statement, a Debugger Message window displays the following message:
    Error occurred: EQA2421E The assignment was not performed because
     the assigned value might not be used by the program,
    due to optimization.
  4. Enter the SET WARNING OFF command in the input line of the Command Log window. The Command Log window displays a message that the SET WARNING OFF command was received.
  5. Step through the statement. A Debugger Message window displays the following message:
    Error occurred: EQA2420W The assignment was performed but the assigned value
     might not be used by the program, due to optimization.
    The new value of the variable you are monitoring is displayed in the Monitors window.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)