Loading an assembler program's debug information

Use the LOADDEBUGDATA (or LDD) command to indicate to z/OS® Debugger that a compile unit is an assembler compile unit and to load the debug information associated with that compile unit. The LDD command can be issued only for compile units which have no debug information and are, therefore, considered disassembly compile units. In the following example, mypgm is the compile unit (CSECT) name of an assembler program:

LDD mypgm

z/OS Debugger locates the debug information in a data set with the following name: yourid.EQALANGX(mypgm). If z/OS Debugger finds this data set, you can begin to debug your assembler program. Otherwise, enter the SET SOURCE or SET DEFAULT LISTINGS command to indicate to z/OS Debugger where to find the debug information. In remote debug mode, the remote debugger prompts you for the data set information when the program is stepped into.

Normally, compile units without debug information are not listed when you enter the DESCRIBE CUS or LIST NAMES CUS commands. To include these compile units, enter the SET ASSEMBLER ON command. The next time you enter the DESCRIBE CUS or LIST NAMES CUS command, these compile units are listed.