SET LDD command

Controls how debug data is loaded for assemblies containing multiple CSECTs. The initial setting is SINGLE.

Read syntax diagramSkip visual syntax diagramSETLDDSINGLEALL;
SINGLE
Indicates that subsequent LOADDEBUGDATA (LDD) commands that load debug data for a CU that was assembled with other CSECTs are to load the debug data for the specified CU only.
ALL
Indicates that subsequent LOADDEBUGDATA (LDD) commands that load debug data for a CU that was assembled with other CSECTs are to load the debug data for all CUs in the assembly.

Usage notes

  • This command affects both deferred and non-deferred LDD commands.
  • If the target of the LDD is a LangX COBOL CU, the command has no effect.
  • If SET LDD ALL is in effect and you do the following tasks, you must enter a separate SET SOURCE command for each CU in the assembly for which you previously entered an LDD command:
    • You enter an LDD command for more than one CU in the same assembly.
    • The debug data could not be found for these CUs.
    • Subsequently, you enter a SET SOURCE command for one of these CUs.
  • You can use this command in remote debug mode.

Examples

  • Load debug data for all CSECTs in an assembly that contains CSECTs CS1, CS2, and CS3:
    SET LDD ALL;
    LDD CS1;
  • Load debug data for CSECT’s CS1 and CS3 in an assembly that contains CSECTs CS1, CS2, and CS3:
    SET LDD SINGLE;
    LDD (CS1,CS3);

Refer to the following topics for more information related to the material discussed in this topic.