PRB: Debugee Exits When the Debugger Exits

ID: Q164205


The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API), used with:
    • Microsoft Windows NT versions 3.1, 3.5, 3.51, 4.0
    • Microsoft Windows 95
    • Microsoft Windows 2000


SYMPTOMS

When a debugger exits, the process being debugged (the "debugee") also exits.


STATUS

This behavior is by design.


MORE INFORMATION

There is no way to modify the configuration of the operating system to work around this behavior. There is no way to keep the debugee alive after the debugger exits.

In order to keep the debugee running, the debugger must remain running.

Additional query words: 3.1 3.5 DebugActiveProcess ContinueDebugEvent DebugBreak SetDebugErrorLevel WaitForDebugEvent DEBUG_PROCESS DEBUG_ONLY_THIS_PROCESS

Keywords : kbAPI kbDebug kbKernBase kbWinOS2000 kbThread kbDSupport kbGrpKernBase
Version : winnt:3.1,3.5,3.51,4.0
Platform : winnt
Issue type : kbprb


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


Send feedback to MSDN.Look here for MSDN Online resources.