PRB: Debugger Hangs If Remote Connection Is Lost

ID: Q123808


The information in this article applies to:
  • The integrated debugger included with
    • Microsoft Visual C++ 32-bit Edition, versions 2.0, 2.1, 4.0
      on the following platforms: x86


SYMPTOMS

When using the remote debugging feature of the Visual C++ Integrated Debugger to debug an application on Win32s from Windows NT, the debugger appears to hang (stops responding) if a remote connection is suddenly terminated.


CAUSE

This can occur if the computer running Win32s is turned off or if the serial cable connecting the two computers is disconnected while debugging. The debugger is waiting for information from the remote monitor on the computer running Win32s and does not time-out.


RESOLUTION

Because the debugger will not respond when it is waiting for the information, the development environment needs to be terminated.


MORE INFORMATION

The Visual C++ development environment may be terminated through the Task List, or by using PVIEW.EXE. PVIEW.EXE is a graphical Process Viewer, providing an interface through which processes (and threads) may be examined and modified. PVIEW.EXE ships with Visual C++ versions 2.0 and 4.0.

To use PVIEW to terminate the Visual C++ session:

  1. For Visual C++ version 2.0: Start PVIEW by clicking the PVIEW icon in the "Microsoft Visual C++ 2.0" group, or by running PVIEW.EXE from the <CD_drive>:\MSVC20\BIN directory.

    For Visual C++ version 4.0: Start PVIEW by clicking the PVIEW icon in the "Microsoft Visual C++ 4.0" group, or by running PVIEW.EXE from the <CD_drive>:\MSDEV\BIN\WINNT directory.

    In both cases, PVIEW may not have been installed, so you may need to run it from the distribution CD.


  2. For Visual C++ version 2.0, select MSVC from the list of processes. For Visual C++ version 4.0, select MSDEV from the list of processes.


  3. Click the Kill Process button.


Additional query words:

Keywords : kbDebug kbide
Version :
Platform : NT WINDOWS
Issue type : kbprb


Last Reviewed: January 31, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.