Using a Debugging Terminal with CodeView

Last reviewed: July 17, 1997
Article ID: Q39179
2.20 3.00 3.11 3.14 4.0x 4.10 | 2.20 3.00 3.11 3.12 | 3.x 4.0x 4.10 4.25
MS-DOS                        | OS/2                | WINDOWS
kbtool

The information in this article applies to:

  • Microsoft CodeView for MS-DOS, versions 2.2, 3.0, 3.11, 3.14, 4.0, 4.01, 4.05, and 4.1
  • Microsoft CodeView for OS/2, versions 2.2, 3.0, 3.11, 3.12, and 3.5
  • Microsoft CodeView for Windows, versions 3.0, 3.05, 3.06, 3.07, 4.0, 4.01, and 4.1
  • Microsoft CodeView for Win32s, version 4.25

SUMMARY

It is possible to use either a dumb terminal or another computer (PC or Macintosh, running a communications package at 9600 baud) as a debugging terminal for CodeView. To take advantage of this option, do the following:

  1. Connect the second terminal to the communications port (COM1 or COM2).

  2. Initialize the communications package to set up the second computer as a dumb terminal. Set the baud rate at 9600.

  3. Start CodeView.

  4. From the CodeView command window redirect the output to the second terminal with one of the following dialog commands:

          > COM1
    

    or

          > COM2
    

    This causes CodeView to display the command window output on the second terminal. You can also redirect the input to the CodeView command window to come from the terminal with one of the following commands:

          < COM1
    

    or

          < COM2
    

    This causes CodeView to read the input from the second terminal.

  5. Set your options and run the program.

  6. To reset the CodeView command window output to the local machine use the following dialog command:

          > CON
    

    To reset the CodeView command window input to the local machine use the following command:

          < CON
    

MORE INFORMATION

Note that this is not the same functionality as remote debugging. Remote debugging allows CodeView to run on a machine other than the local machine which runs the program being debugged. CodeView versions 4.0 and 4.01 support remote debugging. For more information on remote debugging, please refer to the documentation CodeView version 4.0.


Additional reference words: kbinf 2.20 3.00 3.50 4.00 4.10
KBCategory: kbtool
KBSubcategory: CvwIss
Keywords : CvwIss kb16bitonly kbtool
Version : 2.20 3.00 3.11 3.14 4.0x 4.10 |
Platform : MS-DOS OS/2 WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.