Selecting Run/Debug node to set a variety of debug preferences. These include the following preferences (found in the Animated Step Into, Debug Daemon, and Compiled Debug nodes) that you might want to set when debugging your compiled language applications:
from the workbench menu bar opens the Preferences dialog box. In this dialog box, you can choose and expand theIn the Preferences dialog box, selecting Speed Up or Slow Down Animated Step Into actions in the Debug view.
will open the Animated Step Into preference page. In this page, you can set the current step into pace (or current step into delay) and the maximum pace (or maximum step into delay) of the animated step into action. In addition, you can set the amount of time by which the pace increases or decreases when you select theThe default values of the fields in this preference page are:
In the Preferences dialog box, selecting
will open the Debug Daemon page. In this page, you can set the port, a range of ports, or a combination of ports on which the daemon will listen for debug engine connections. Ranges and combinations of ports can be specified in comma-separated lists, hyphenated ranges, or a combination of the two. By default, the port is set to 8001.If you change the daemon port in the Debug Daemon preference page, you can easily set it back to its default value by clicking the preference page Restore Defaults push button.
If the daemon was already set in the user interface to listen for debug engines, the debugger will start the daemon on the new port number for you when you change the daemon port number in this preference page.
In the Preferences dialog box, selecting
will open the Compiled Debug page. In this page, you can set these preferences:In the Debugger Editor section of this preference page, the Always use Debugger Editor while debugging check box determines the editor that source will open in when debugging. It also determines what you will see when stepping. The default setting for this check box depends on the product that you have installed this debugger with. When this check box is deselected:
In this section, you can also:
You can choose to delete program profiles. A program profile is saved by the debugger for each program that you debug. The program profile includes information such as breakpoint and monitor settings. To delete all currently-saved program profiles, select this button.
If you want exception breakpoint settings to apply only to the program being debugged in the current debug session, select the Save exception breakpoint settings by program check box. If this check box is not selected, exception breakpoint settings will apply to all programs that are debugged by the current debug engine.
If you want to specify the length of time for the debugger to wait for a response from the debug engine, select the Wait (in seconds) radio button and then enter the length of time in seconds to wait in the field. By default, the debugger will wait 15 seconds for an engine response. When the Wait radio button is selected, if an engine does not respond within the specified waiting period, a dialog box will prompt you to continue waiting for an engine response. If you choose not to continue waiting, the debug session will terminate.
If you want the debugger to wait indefinitely for a reply from the debug engine, select the Infinite radio button. When this radio button is selected, you will need to manually terminate the debug session if an engine fails to respond.
The Trace engine connection setting is used for diagnostic purposes. When this setting is selected, large files that are only readable by IBM® can be written to your disk. Select this setting only when instructed by an IBM service representative.