DBG$HELP.HLB  —  DEBUG  SHOW  LOG
    Indicates whether the debugger is writing to a log file and
    identifies the current log file.

    Format

      SHOW LOG

1  –  Description

    The current log file is the log file last established by a SET
    LOG command. By default, if you did not enter a SET LOG command,
    the current log file is the file SYS$DISK:[]DEBUG.LOG.

    Related commands:

       SET LOG
       SET OUTPUT [NO]LOG
       SET OUTPUT [NO]SCREEN_LOG

2  –  Examples

    1.DBG> SHOW LOG
      not logging to DEBUG.LOG
      DBG>

      This command displays the name of the current log file as
      DEBUG.LOG (the default log file) and reports that the debugger
      is not writing to it.

    2.DBG> SET LOG PROG4
      DBG> SET OUTPUT LOG
      DBG> SHOW LOG
      logging to USER$:[JONES.WORK]PROG4.LOG
      DBG>

      In this example, the SET LOG command establishes that the
      current log file is PROG4.LOG (in the current default
      directory). The SET OUTPUT LOG command causes the debugger
      to log debugger input and output into that file. The SHOW LOG
      command confirms that the debugger is writing to the log file
      PROG4.COM in your current default directory.
Close Help