Microsoft KB Archive/164205

{|
 * width="100%"|

PRB: Debugee Exits When the Debugger Exits

 * }

Q164205

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), used with:
 * the operating system: Microsoft Windows NT, versions 3.1, 3.5, 3.51, 4.0
 * Microsoft Windows 95
 * the operating system: 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 kbOSWin2000 kbThread kbDSupport kbGrpDSKernBase

Issue type : kbprb

Technology : kbAudDeveloper kbWin32sSearch kbWin32API