DBG$HELP.HLB  —  DEBUG  CANCEL  SOURCE  Examples
    1.DBG> SET SOURCE/MODULE=CTEST/EXACT [],SYSTEM::DEVICE:[PROJD]
      DBG> SET SOURCE [PROJA],[PROJB],[PETER.PROJC]
       . . .

      DBG> SHOW SOURCE
         source directory search list for CTEST,
          match the exact source file version:
              []
              SYSTEM::DEVICE:[PROJD]
          source directory list for all other modules,
          match the latest source file version:
              [PROJA]
              [PROJB]
              [PETER.PROJC]
      DBG> CANCEL SOURCE
      DBG> SHOW SOURCE
         source directory search list for CTEST,
          match the exact source file version:
              []
              SYSTEM::DEVICE:[PROJD]
          all other source files will try to match
          the latest source file version

      In this example, the SET SOURCE command establishes a directory
      search list and a search method (the default, latest version)
      for source files other than CTEST. The CANCEL SOURCE command
      cancels the directory search list but does not cancel the
      search method.

    2.DBG> SET SOURCE /EXACT
      DBG> SHOW SOURCE
          no directory search list in effect,
           match the exact source file
      DBG> SET SOURCE [JONES]
      DBG> SHOW SOURCE
          source directory list for all modules,
           match the exact source file version:
               [JONES]
      DBG> CANCEL SOURCE /EXACT
      DBG> SHOW SOURCE
           source directory list for all modules,
           match the latest source file version:
               [JONES]

      In this example, the SET SOURCE/EXACT command establishes a
      search method (exact version) that remains in effect for the
      SET SOURCE [JONES] command. The CANCEL SOURCE/EXACT command not
      only cancels the SET SOURCE/EXACT command, but also affects the
      SET SOURCE [JONES] command.
Close Help