Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom Debugger Guide - use the following switches for the dos debuggers. for more dos options, http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Use the following switches for the DOS debuggers.  For more DOS options,
refer to the section called DOS and Windows Options.

/Page
    specifies that page 0 of screen memory is to be used for the
    application's screen and that page 1 of screen memory should be used for
    the debugger's screen.  This option may be selected when using a
    graphics adapter such as the CGA, EGA or VGA.  Using the Page option
    results in faster switching between the application and debugger screens
    and makes use of the extra screen memory available with the adapter.
     This is the default display option.  Do not use this option if you wish
    to debug a DOS graphics-mode application.

/Swap
    specifies that the application's screen memory and the debugger's screen
    memory are to be swapped back and forth using a single page.  The
    debugger allocates an area in its own data space for the inactive
    screen.  This reduces the amount of memory available to the application.
     It also takes more time to switch between the application and debugger
    screens.  This option MUST be used when debugging a DOS graphics-mode
    application and a second monitor is not available.

    The default display options are:

     1. If you have a two display system, the debugger uses both displays
        with the program output appearing on the active monitor and the
        debugger output appearing on the alternate monitor.  In other words,
        the Two option is selected by default.

     2. If you have one of the CGA, EGA or VGA graphics adapters installed
        in your system then the debugger selects the Page option by default.

     3. Under all other circumstances, the debugger selects the Swap option
        by default.

/CHecksize=number
    specifies the minimum amount of storage, in kilobytes, that the debugger
    is to provide to DOS for the purpose of spawning a program while the
    debugger is active.  This option is useful when the application that is
    being debugged uses up most or all of available storage, leaving
    insufficient memory to spawn secondary programs.  In order to provide
    the requested amount of free memory to DOS, the debugger will checkpoint
    as much of the application as required.

    Checkpointing involves temporarily storing a portion of the
    memory-resident application on disk and then reusing the part of memory
    that it occupied for the spawned program.  When the spawned program
    terminates, the checkpointed part of the application is restored to
    memory.

    The default amount is 0K bytes.  In this case, the spawned program may
    or may not be run depending on how much free storage is available to DOS
    to run the program.

    Warning:
        If the application being debugged installs one or more interrupt
        handlers, the use of this option could hang your system.  Your
        system could lock up if the debugger checkpoints a portion of the
        application's code that contains an interrupt handler.

/NOCHarremap
    turns off the character re-mapping that the DOS debugger uses for
    displaying dialogs and window frames.  Use this option when trying to
    debug in an environment where character remapping is not available.
     Windowed DOS boxes under OS/2 do not support character re-mapping.

/NOGraphicsmouse
    Turn off the graphics mouse emulation code that makes the mouse cursor
    look like an arrow instead of a block.  Use this option if the mouse
    cursor appears as 4 line drawing characters instead of an arrow.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson