.abandon (Abandon Process)

The .abandon command ends the debugging session, but leaves the target application in a debugging state. This returns the debugger to dormant mode.

    .abandon [/h|/n] 


Any outstanding debug event will be continued and marked as handled. This is the default.

Any outstanding debug event will be continued unhandled.


This command is only supported in Windows XP and later versions of Windows.


user mode only


live debugging only



Additional Information

If the target is left in a debugging state, a new debugger can be attached to it. See Re-attaching to the Target Application for details. However, after a process has been abandoned once, it can never be restored to a running state without a debugger attached.

Send comments about this topic to Microsoft