SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 1 Vol 2

BUG SWITCHES

Name:
    BUG SWITCHES (SET)
Type:
    Set Subcommand
Purpose:
    Turn on various debugging switches.
Description:
    Dataplot contains a number of commands for turning on debug switches. When a debugging switch is turned on, certain print statements will be activated to aid in debugging.

    Although these commands are primarily of interest to the Dataplot developers, they can be turned on by any Dataplot user.

    The list of available bug switches is

      IBUGMA - Debugging for Dataplot's main routine
      IBUGIN - Debugging for initialization
      IBUGLS - Debugging for LET subcommands
      IBUGMS - Not used
      IBUGGC - Debugging for DPGETC routine (DPGETC parses the command line)
      IBUGTY - Debugging for DPTYPE routine (DPTYPE creates character, floating point and integer representations for each component of the command line)
      IBUGTE - Not used
      IBUGPC - Debugging for plot control commands (high level routines)
      IBUGP2 - Debugging for plot control commands (lower level routines)
      IBUGOD - Debugging for output device commands (high level routines)
      IBUGO2 - Debugging for output device commands (low level routines)
      IBUGSU - Debugging for support commands (high level routines)
      IBUGS2 - Debugging for support commands (low level routines)
      IBUGGR - Debugging for graphics commands (high level routines)
      IBUGG2 - Debugging for graphics commands (low level routines)
      IBUGG3 - Debugging for graphics commands (low level routines)
      IBUGAN - Debugging for analysis commands (high level routines)
      IBUGA2 - Debugging for analysis commands (low level routines)
      IBUGA3 - Debugging for analysis commands (low level routines)
      IBUGPL - Debugging for plotting routines (high level routines)
      IBUGP1 - Debugging for plotting routines (low level routines)
      IBUGP3 - Debugging for plotting routines (low level routines)
      IBUGDG - Debugging for diagrammatic graphics commands (high level routines)
      IBUGD2 - Debugging for diagrammatic graphics commands (low level routines)
      IBUGCO - Debugging for function evaluation (COMPIM and COMPID routines)
      IBUGEV - Debugging for function evaluation (EVALM routine)
      IBUGQ - Debugging for subsetting
      IBUGRE - Debugging for reading
      IBUGWR - Debugging for writing
      IBUGSO - Not used
      IBUGTO - Not used
      IBUGUG - Debugging for graphics routines
      IBUGU2 - Debugging for graphics routines
      IBUGU3 - Debugging for graphics routines
      IBUGU4 - Debugging for graphics routines
      IBUGEX - Debugging for expert subsystem (obsolete)
      IBUGE2 - Debugging for expert subsystem (obsolete)
      IBUGHE - Debugging for help command (high level)
      IBUGH2 - - Debugging for help command (low level)
      IBUGWI - Debugging for GUI subsystem (obsolete)
      IBUGLO - Debugging for LOOP command
Syntax:
    SET <BUG SWITCH> <ON/OFF>
    where <BUG SWITCH> is one of the names listed above;
    and where <ON/OFF> specifies whether the bug switch is turned on or off.
Examples:
    SET IBUGG2 ON
    SET IBUGA2 ON
    SET IBUGG2 OFF
Note:
    The debug switches can result in a large amount of output being generated. For that reason, you may want to use the CAPTURE command to save the output to a file.
Default:
    All bug switches are OFF.
Synonyms:
    None
Related Commands:
    SET ISUBRO = Turn on debugging for a specific subroutine.
    SET FATAL ERROR = Specify what action to take when an error is detected.
    CAPTURE = Redirect terminal output to a file.
Applications:
    Debugging
Implementation Date:
    Pre-1987
Program:
     
    LET Y1 = NORMAL RANDOM NUMBERS FOR I = 1 1 100
    SET IBUGGR ON
    SET IBUGG2 ON
    CAPTURE JUNK.OUT
    HISTOGRAM Y
    END OF CAPTURE
        

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 04/27/2016
Last updated: 04/27/2016

Please email comments on this WWW page to alan.heckert@nist.gov.