Debugging Tools for Windows |
The AbandonCurrentProcess methods removes the current process from the debugger engine's process list without detaching or terminating the process.
HRESULT
IDebugClient2::AbandonCurrentProcess(
);
This method may also return error values. See Return Values for more details.
AbandonCurrentProcess is available in IDebugClient2 and later versions.
This method is only available for live user-mode debugging. The target must be running on Windows XP or a later version of Windows.
Windows will continue to consider this process as being debugged, and so the process will remain suspended. This method allows the debugger to be shut down and a new debugger to attach to the process. See Live User-Mode Targets and Re-attaching to the Target Application for more information.
Headers: Defined in dbgeng.h. Include dbgeng.h.
AttachProcess, CreateProcessAndAttach2, DetachCurrentProcess, TerminateCurrentProcess, .abandon (Abandon Process)