Source level support
- Use the STMTSTEP command (see STMTSTEP). For this to work correctly, the CSECT name must match the file name of the extract file. So if you are in a section named CODE then the extract file name also has to be CODE for the automatic load to complete successfully.
- Use the LANGUAGE LOAD command (see LANGUAGE LOAD). This command lets you preload the extract files before execution of these sections. It also lets you load extract files where the name of the extract file does not match the section name. This might be useful when you are debugging a module with multiple code sections, but you only have one extract file.
The QUALIFY command (see QUALIFY) lets you change the default module name. This is useful with dynamically loaded programs to simplify the commands.
For example, assume that the initial program is ARROW, and
IDF has loaded another program called TARGET. The default module
name starts off as ARROW and a command
like DISASM SECTA
searches
ARROW for the section names SECTA.
If there is also a section named SECTA in TARGET, to display
this section, you have to enter the
command DISASM TARGET.SECTA
.
If you issue QUAL TARGET
first to change
the default section name, then DISASM SECTA
searches
module TARGET.
The qualified name is used whenever a module name is
omitted from a command, and the displays remove the qualified name
from the window title. Using the previous example, and with
QUAL TARGET
issued, then the DISASM window
from DISASM SECTA
shows (SECTA), and if there is another window displaying SECTA from
the module ARROW, then the title in that window shows (ARROW.SECTA).